Skip to content

GeoJsonSource ​

geojson矢量数据源

Apis ​

Props ​

参数说明类型默认值
id?SourceIdstring随机生成
data?数据源GeoJSONSourceOptions['data']-
options?数据源配置项Partiall<GeoJSONSourceOptions>官方默认值

Emits ​

事件名说明参数
registersource创建后触发(acitions:CreateGeoJsonSourceActions)

Slots ​

name说明
defaultLayer图层,可以放入多个Layer,应用于此Source数据源