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

Lines disappearing with highlight on hover #589

Closed
gHupf opened this issue Dec 11, 2017 · 2 comments
Closed

Lines disappearing with highlight on hover #589

gHupf opened this issue Dec 11, 2017 · 2 comments

Comments

@gHupf
Copy link

gHupf commented Dec 11, 2017

Not sure if this is a qgis2web or a leaflet bug, but if I use "highlight on hover" in my leaflet map if 2 or more line features are above each other the lower one always disappears if I hover the upper one. I added the two line features I have the problem with and also the style for the lower feature. Way is on top, lines below.

hover_testfiles.zip

@gHupf gHupf changed the title Lines disappearing with highlight on hoveer Lines disappearing with highlight on hover Dec 11, 2017
@tomchadwin
Copy link
Collaborator

The problem is with the following set-up:

  • Leaflet export
  • highlight on hover
  • multiple symbol layers

I've not figured out a way to restore the style for multiple symbol layers on mouseout in Leaflet. See perliedman/leaflet-multi-style#6.

For the moment, I can only suggest changing one of the three elements in the list above - use OpenLayers, don't highlight on hover, or only use a single symbol layer.

Sorry not to have a solution for you.

@andreaordonselli
Copy link
Collaborator

I have just released version 3.19.0, which fixes the issues discussed in this thread. Shortly, the update will be available within the QGIS plugin repository.

Thank you for using the plugin.

I would greatly appreciate it if you would consider donating a virtual coffee through the button on the homepage to support the development of qgis2web.

Best regards.

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

No branches or pull requests

3 participants