Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

@VassarL
Copy link

VassarL commented Mar 22, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant