Open dooley opened 6 years ago
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 you find a solution for this?
Sorry, no.
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!