Leaflet.VectorGrid icon indicating copy to clipboard operation
Leaflet.VectorGrid copied to clipboard

Fractional Zoomlevel and Clickhandler

Open dooley opened this issue 6 years ago • 2 comments

I'm using Leaflet 1.3.1 - because https://github.com/Leaflet/Leaflet/issues/6245 - and VectorGrid 1.3.0 for mvt with L.canvas.tile as rendererFactory.

The defined click-handler works as expected only if zoomlevel is integer (6, 5, 19, ..). If zoomlevel gets fractional (6.25, 10.75, ...), mousepointer change back to normal and click on a feature does nothing.

Looks like a bug?

Edit: With rendererFactory: L.svg.tile it's ok!

dooley avatar Jul 21 '18 19:07 dooley

@dooley you find a solution for this?

ssontag55 avatar Jul 03 '21 20:07 ssontag55

Sorry, no.

dooley avatar Jul 03 '21 20:07 dooley