Class: GeoJson

GeoJson


new GeoJson(sdk, options)

Parameters:
Name Type Description
sdk
options object 参数
Properties
Name Type Argument Default Description
id string id
url string geojson地址
color string <optional>
#ef0606 线条颜色
width number <optional>
1 线条宽度
Example
new YJ.Obj.GeoJson(earth,{id:"123",url:""})