-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Maps4HTML/web-map-doc
#115Labels
APIMap and associated elements' non-declarative API (events and methods)Map and associated elements' non-declarative API (events and methods)accessibilityneeds discussionweb platform compatibility
Description
There is a standard HTMLElement.focus() method, which doesn't do what this method does, which is to zoom to the whole layer at the maximum possible zoom. We will need, at a minimum, to rename this method.
Since programmatic focus has become important, the HTMLLayerElement.focus() implementation should either focus the layer in the layer control, or focus the first or next element in the layer, without moving the map. We should figure out what the correct behaviour is, but I'm pretty sure the correct behaviour is not what it currently does. We probably need a separate method for each type of focus, actually.
Malvoz
Metadata
Metadata
Assignees
Labels
APIMap and associated elements' non-declarative API (events and methods)Map and associated elements' non-declarative API (events and methods)accessibilityneeds discussionweb platform compatibility