Tooltip binded to polygon displacement on zoom in #5216

Open
walterfn2 opened this Issue Dec 24, 2016 · 0 comments

Projects

None yet

1 participant

@walterfn2
walterfn2 commented Dec 24, 2016 edited

How to reproduce

Leaflet version I'm using: 1.0.2
Browser (with version) I'm using: Chrome & FF
OS/Platform (with version) I'm using: Windows 10

What behaviour I'm expecting and which behaviour I'm seeing

Binded tooltip to polygon changes its place on zoom in. I'm attaching jsfiddle examples.

In first example problem occurs once map is zoomed to polygon.

In second example problem does not occur if we initialize map with higher zoom.

Minimal example reproducing the issue

https://jsfiddle.net/cco2v6vq/

https://jsfiddle.net/cco2v6vq/1/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment