var non_tfl_lines_Chelsea_HackneyviaKings = L.geoJson(non_tfl_lines_Chelsea_HackneyviaKings, {
style: function(feature) {
return {color: feature.properties.color,
dashArray: '20'}
},
pointToLayer: function(feature, latlng) {
return new L.polyline(latlng);
},
onEachFeature: popup,
}
tfl_stations1, {
pointToLayer: function(feature, latlng) {
return new L.Circle(latlng, 400, {
color: getColor(feature.properties.relief)});
},
onEachFeature: function (feature, layer) {
layer.bindPopup(feature.properties.name);
}
})
).addTo(map);
如何在non_tfl_lines_Chelsea_HackneyviaKings图层中使用GeoJSON tfl_stations1文件中的数据?