Question

I have followed mapbox.js documentation to implement geojson LineString over my map without success.

Does L.mapbox.featureLayer() support LineString?

Here is my code:

var myMarkers_sende = L.mapbox.featureLayer()
.addTo(map);
myMarkers_sende.loadURL('myurl/map_sende.geojson');

Thanks

Was it helpful?

Solution

Yes, L.mapbox.featureLayer does support the LineString geometry type. This is a problem somewhere else: enabling browser debugging might point out an issue in Javascript, or if you can provide more complete code & data, we could help debugging.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top