geojson
geojson数据源。
示例
{
"source": {
"type": "geojson",
"data": {
"type": "Feature",
"properties": {},
"geometry": {"type":"LineString","coordinates":[[116.152954,39.753657],[116.641846,40.132691],[116.921997,39.778991]]}
}
}
}
属性
| 属性 | 说明 |
|---|---|
| type | 数据源类型,geojson |
| data | GeoJSON数据 |
| maxzoom | 最大显示级别 |
| cluster | 点集合数据聚合,默认为false |