@Leaflet says this plugin needs update to be supported in Leaflet 1
I have a preliminary b1 branch up @ master...snkashis:b1_compat . What problems are you seeing so far? I do see labels falling below polygons.
Took care of that with a z-index bump up to 500.
And yeah, I see how there is an issue with whenReady callback on L.map.
2.2-dev appears to be fine with b1... because of cead0a6
From testing locally we needed to always redraw on viewreset.
I've pushed up a branch here:
@danzel I see you have started a branch for 1.0 compat, what about pulling out #122 on there too?
Thanks, hadn't seen that one, will do and tidy up.
👍 any progress on a stable release or consolidated branch for leaflet 1 support?
Same problem here with 1.0b2, how can I hotfix it until a release comes? Thanks
use the leaflet-master branch, you'll need to build the js yourself.
Run npm install and then jake (iirc)
The bower.json on that branch seems not updated yet
I just tried the preliminary branch with Leaflet hotline, and when I pulled it L.hotline was undefined. Not sure whats up with that. http://exploringspatial.com/#demo/10 I've removed Label from the demo for now.
The issue with whenReady callback on L.map. still exists if you get package using npm install leaflet-label. I've seen the fix in the cead0a6 but probably you forgot to bump up the version with this fix . Ver 0.2.2-dev on npm still has some old code.