Skip to content

Idea: <map draggable> (or other) attribute (with a better name) #158

Open
@prushforth

Description

@prushforth

It seems that drag and drop functionality is kind of outside the normal scope of HTML specifications, being a script-driven facility.

On the other hand, dragging the URL of a MapML document onto an existing <mapml-viewer> and having it show up as a <layer-> element on top of the stack of layers is quite useful. I'm not sure how that can be done via keyboard accessibility, so that's an important consideration for standardizing it.

As well, the recently introduced ability to re-order <layer-> nodes by dragging them in the layer control seems to be quite useful.

However, some Web sites might not want this functionality on their web site. Does it seem like the right approach to add a boolean attribute to the widget element to indicate if the widget will respond to drag events? What are the implications of allowing drag and drop events on a native element such as a <map>?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions