-
Notifications
You must be signed in to change notification settings - Fork 147
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
Way to add hover popup to a geoJSON layer element #66
Comments
I'm having the same issue, debugging a little I find out that the method I see two workarounds to fix this issue: |
@luizotcarvalho Thank you for the info. |
I did something similar to @luizotcarvalho recommendations. Here's how I do it:
And then I use the show parameter to show the popup or remove it from map. Not the best solution, but works for now. Looking forward to the new release! |
Looking for a way to add popup without any specific coordinates and change coordinates on hovering an element on a map. Trying to achieve something similar as this Mapbox example.
Haven't found a good way to do it using the mgl-popup component yet, here's what I have:
Will produce:
Also having a similar issue to this one #55. And for some reason two popup elements are added to the map.
Any ideas?
Thanks
The text was updated successfully, but these errors were encountered: