Optionalaria-Optional aria-label property. Do not use together with aria-label.
This property is directly applied to the map's container div element.
Optionalaria-Optional aria-labelledby property. Do not use together with aria-label.
This property is directly applied to the map's container div element.
OptionalchildrenOptionalcontainerArbitrary html properties that will be applied to the map container's element. This is the element that renders the OpenLayers map.
Use these at your own risk since they may be overwritten by the map container itself.
Use cases: setting custom data attributes, registering custom event handlers, ...
OptionalmapThe map model to use.
OptionalroleOptional role property.
This property is directly applied to the map's container div element.
OptionalrootArbitrary html properties that will be applied to the map container's root element. This is the element that contains the map container and any UI elements (like map anchors, for example).
Use these at your own risk since they may be overwritten by the map container root itself.
Use cases: setting custom data attributes, registering custom event handlers, ...
OptionalviewSets the map's padding directly. Do not use the view's padding property directly on the OL map.
See: https://openlayers.org/en/latest/apidoc/module-ol_View-View.html#padding)
OptionalviewBehavior performed by the map when the view padding changes.
none: Do nothing.preserve-center: Ensures that the center point remains the same by animating the view.preserve-extent: Ensures that the extent remains the same by zooming.
Arbitrary data attributes.
NOTE: The component may use data properties for its own behavior. Make sure not to overwrite required attributes.