You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using vectorGrid.protobuf for displaying vector tiles on map i was not able to capture mouse events initially until when i zoomed out to minzoom level
#284
Open
VassarL opened this issue
Mar 22, 2024
· 0 comments
this is code snippet for displaying the vector tile layer on the map
vectorTileLayer = new (L as any).vectorGrid.protobuf(layer.url, {
...layer.layerOptions,
interactive: true,
});
because of the interactive = true the pointer events are being enabled but this is causing additional issue.when the map is initially loaded no mouse event is working even drag and click also not working until when the map is zoomed out to minimum zoom level after then everything is working fine.
The text was updated successfully, but these errors were encountered:
this is code snippet for displaying the vector tile layer on the map
vectorTileLayer = new (L as any).vectorGrid.protobuf(layer.url, {
...layer.layerOptions,
interactive: true,
});
because of the interactive = true the pointer events are being enabled but this is causing additional issue.when the map is initially loaded no mouse event is working even drag and click also not working until when the map is zoomed out to minimum zoom level after then everything is working fine.
The text was updated successfully, but these errors were encountered: