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

Popup för vector tile layers #195

Open
02JanDal opened this issue Nov 3, 2023 · 1 comment
Open

Popup för vector tile layers #195

02JanDal opened this issue Nov 3, 2023 · 1 comment

Comments

@02JanDal
Copy link

02JanDal commented Nov 3, 2023

Is there a way to add popups (or other overlays) for features on vector tile layers, other than leaving React/JSX and doing it in "raw" OpenLayers?

@mmomtchev
Copy link
Owner

https://mmomtchev.github.io/rlayers/#/vectortiles has an example for callbacks on vector tiles layers, but I think the default RPopup component does not support them. You can easily make it though - but they won't be compatible. You will end up with two components, one for normal vector layers and one for vector tile layers.

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

2 participants