-
Notifications
You must be signed in to change notification settings - Fork 146
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
some Popups don't appear when hover #505
Comments
Does it still fail if you don't cluster the layer? |
It works fine when I don't cluster the layer, and I just realize that it works too when I use openlayers. But if there is a solution to make it works with Leaflet and the cluster, it would be perfect. |
Thanks. Is it only points which are "spidered" out from a cluster? In other words, if you zoom in far enough so that the point is unclustered, does the popup work? |
That's right, if I zoom a lot the point is unclustered. The problem is that for the project I work on, I have to limit the zoom (I work for an Archaeology lab, and they don't want a too precise location of the points to prevent looting). |
I'm afraid I don't have a solution. It appears to be an open issue in the clustering library. Sorry. |
Ok, nevermind, I'll make it without the clustering. Thank you so much for your help and your fast answers! |
You're welcome. Sorry not to have had a solution for you. |
@ghybs said on GIS.SE:
A few bits and pieces to unpick here:
How best to proceed? |
Hi @tomchadwin, Thank you for the follow-up!
I think Leaflet.markercluster would definitely benefit from a more permanent fix (as issue Leaflet/Leaflet.markercluster#431 shows that it due to the plugin in the first place, not specific to qgis2web). Not sure yet how to fix this elegantly… Your option 3 sounds like a nice workaround for the meantime, besides giving access to all other Leaflet.markercluster options (if that is do-able). |
@ghybs OK, let's rule out option 2 as unachievable. I can understand why you favour option 3, as it allows users to exploit the maximum functionality of LMC. However, what I failed to mention is that of course qgis2web exports to both Leaflet and OpenLayers. I therefore am not prepared to push a GUI control towards library when the functionality is not available in the other. Another concern about option 3 is presenting users unfamiliar with code with confusing options. qgis2web exists for non-coders, so adding options very specific to one bit of functionality might be inappropriate. Finally, I don't want to overbalance the whole GUI towards Leaflet clusters, if you understand what I mean. I have to consider overall usability, and to me, presenting in-depth options for just one aspect of maps is not the best approach. So, back to option 1, I'll tweak the output for Thanks for all the help! |
OK, |
Hi, I'm trying to do a web export with QGIS2web and I have a rendering issue some popups that should appeared when the cursor is hovered a point but they don't. This issue affects only some of the points (the other work fine), especially some points which are in close proximity to each other (it’s the case on the image below).
Do you know how to solve this problem?
I’m sorry if the question has been already asked or if my english is not perfect…
Thank you in advance for your answer.
The text was updated successfully, but these errors were encountered: