L.geoJSON(geojsonFeature).addTo(map); var myLines = [{ "type": "LineString", "coordinates": [[-100, 40], [-105, 45], [-110, 55]] }, { "type": "LineString", "coordinates": [[-105, 40], [-110, 45], [-115, 55]] }];
使用GeoJSON与Leaflet:GeoJSON图层
关注公众号获取免费资源