Optional
buttonAdditional properties for the Button
element.
Note that the ToolButton also defines some of these props.
Optional
mapThe map model to use.
Optional
mapThe id of the map. The map will be looked up in the MapRegistry service.
The view direction.
The button will either view forward or view backward depending on this value.
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.