Optional
aria-Optional aria-label property. Do not use together with aria-label.
This property is directly applied to the map's container div element.
Optional
aria-Optional aria-labelledby property. Do not use together with aria-label.
This property is directly applied to the map's container div element.
Optional
childrenOptional
mapThe map model to use.
Optional
mapThe id of the map. The map will be looked up in the MapRegistry service.
Optional
roleOptional role property.
This property is directly applied to the map's container div element.
Optional
viewSets 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)
Optional
viewBehavior 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.
Options that specify which map to use. See useMapModel.
When not setting any of these properties on a component, the default map (from the
DefaultMapProvider
) will be used. If that is not available either, an error will be thrown.