Open trakais opened 9 years ago
I have a preliminary b1 branch up @ https://github.com/Leaflet/Leaflet.label/compare/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 https://github.com/Leaflet/Leaflet.label/commit/cead0a63afb195ce842536fe3ba92ebcb5f90188
From testing locally we needed to always redraw on viewreset
.
I've pushed up a branch here:
https://github.com/Leaflet/Leaflet.label/tree/leaflet-master
@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.
great library!
:+1: 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.
@Leaflet says this plugin needs update to be supported in Leaflet 1