shramov / leaflet-plugins

Plugins for Leaflet library
http://psha.org.ru/b/leaflet-plugins.html
MIT License
722 stars 289 forks source link

Marker.Text has wrong anchor #286

Closed johnd0e closed 5 years ago

johnd0e commented 5 years ago

image

It's screen from unmodified marker-text.html, where we see 2 markers. I suppose their pins should be placed in exact point.

brunob commented 5 years ago

Please, provide a link to a page showing the bug. I'm sorry to tell this, but i can't debug an image, especially without any context about it. All i can say, is : this works for me :)

johnd0e commented 5 years ago

https://github.com/shramov/leaflet-plugins/blob/master/examples/marker-text.html

brunob commented 5 years ago

Nice, and what about the context, since the same example works for with FF 67 on ubuntu <= this is a bit of context.

Sorry to be rude, but i feel a bit tired about this type of bug report

brunob commented 5 years ago

'k, thx to me, i see it with chromium, let's dig into it

brunob commented 5 years ago

The problem comes from this line https://github.com/shramov/leaflet-plugins/blob/master/layer/Marker.Text.js#L47 it should have been a specific webkit hack not needed anymore.