Skip to content

No hover event triggered for icons when panning to left #97

Description

@kparikh9

As user pans to left of original leaflet map, some icons don't recognize that user is hovering over it. This means that when a user clicks on it, they aren't zoomed into specific boundaries with divided clusters in center, as per usual. Icons in North America remain functional - icons in rest of world don't.

https://www.loom.com/share/8b2d685f662c471f9b01cb668b0e2755

One potential solution is to turn off wrapping of world, thus turning off infinite panning: https://stackoverflow.com/questions/20638118/leaflet-js-disable-duplicated-world-maps

This solution turns off Leaflets map, however we would also need to prevent user scrolling and Mapnik tiles from being served as user scrolls.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions