Skip to content

Create a control that sets / unsets the map's static attribute #1051

Description

@prushforth

A control that reflects the map's static attribute would be useful for page authors who want to include one or more maps on an HTML page and to avoid the "slipping on a banana" effect of scrolling the mouse wheel while the cursor rests inadvertently over one of those maps.

The control could work similarly to how a layer's checked attribute is reflected and managed by the layer control checkbox for that layer's entry.

Should there be an event emitted when the user toggles the static control?

The control should be opt-in i.e. not present by default but rendered when the user includes controlslist=static, I think.

Ideas / opinions below please

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIMap and associated elements' non-declarative API (events and methods)accessibilityidea

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions