Closed milafrerichs closed 8 years ago
Hm, yeah—the reason to do it would be to get the labels showing. Maybe this is not yet possible in Leaflet?
If memory serves, it's possible to sandwich data layers between tiles, but popups aren't possible. There might be a way around this by doing vector tiles in mapbox?
ok got it. it is working now:
it's a bug in leaflet 0.7 and will be fixed in 1.0
this is a workaround from jfirebaugh
http://bl.ocks.org/jfirebaugh/5380413
Here is a "staging" link. Thanks to your jekit: Preview
I assume you want the Label layer to be on top of the GeoJSON Layer?
This does not work yet. Have to do some more digging with the problems leaflet has with the ordering and z-index handling.