Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Updates featureLayer to be interactive only if there is popup content #1217

Open
wants to merge 1 commit into
base: publisher-production
Choose a base branch
from

Conversation

juliengirault
Copy link

This patch suggests that a feature layer should be considered interactive only if there is a popup attached to it.

By default a vector layer is considered interactive by default. When a layer is "interactive", leaflet adds a class to the DOM that makes the DOM look clickable (by applying the CSS property cursor: pointer; ).
Our users have complained about the poor user experience resulting from this: they see a pointer cursor, they try to click on the layer, but nothing happens.

@pnorman
Copy link

pnorman commented Feb 13, 2018

Any updates on getting this merged?

@davidtheclark davidtheclark changed the base branch from mb-pages to publisher-production January 16, 2019 21:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants