【发布时间】:2014-02-18 14:37:39
【问题描述】:
是否可以在 GeoJSON 中定义自己的标记图标?
我尝试了很多方法来获得预期的效果,但没有任何效果..
geojson FeatureCollection 的示例代码,我想在其中添加自定义图标:
{
"type": "Feature",
"id": "Point1",
"properties": {
"name": "Last point"
},
"geometry": {
"type": "Point",
"coordinates": [22.57031047873893, 51.25080964529834]
}
}
【问题讨论】:
标签: angularjs icons leaflet marker geojson