While trying to add a click event to a protobuf, I realised clicks on any child of map is not working anymore (I remember it used to work). Issue can be replicated by running any of the following demos in docs, and clicking on any point:
demo-points.html
demo-points-icons.html
a click results in following error:
Leaflet.VectorGrid.bundled.min.js:2 Uncaught TypeError: L.DomEvent._fakeStop is not a function at e._onClick (Leaflet.VectorGrid.bundled.min.js:2) at HTMLCanvasElement.r (leaflet.js:5)
While trying to add a click event to a protobuf, I realised clicks on any child of map is not working anymore (I remember it used to work). Issue can be replicated by running any of the following demos in docs, and clicking on any point:
a click results in following error:
Leaflet.VectorGrid.bundled.min.js:2 Uncaught TypeError: L.DomEvent._fakeStop is not a function at e._onClick (Leaflet.VectorGrid.bundled.min.js:2) at HTMLCanvasElement.r (leaflet.js:5)