Skip to content

Use case (author / website visitor): Require interaction before allowing pan/zoom #180

@Malvoz

Description

@Malvoz

This issue is for discussion of the use case “Require interaction before allowing pan/zoom”, its examples & list of required capabilities.


When a user hovers their mouse pointer (even if just briefly) over a map, before wanting to continue scrolling the web page (or panning the screen, on touch devices) map viewers are often panned/zoomed instead, sort of trapping the user from scrolling.

Maybe there should be a way for authors, or perhaps the end-user even, to dictate whether panning/zooming should be allowed before interacting with it, such as tapping/clicking the map.

Of all the reviewed reference tools, Google Maps is the only one to require interaction (see Google Maps' "Cooperative Gesture Handling") before enabling pan/zoom - requiring using 2 fingers to interact with the map on touch devices, or holding ctrl + mouse pointer interaction on desktop (Windows).

(Similar issues could arise from <iframe> already, or any overflowing element, maybe this should be a WHATWG HTML issue instead.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussion: use casea possible use case: should it be included? what should it say?section: map viewerCapabilities & use cases for declarative map viewer widgetsstatus: editor's draftthere's a draft section in the report that corresponds to this discussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions