The type of routing service to be used.
Currently, only the OpenRouteService ('ors') is implemented.
The url of the routing service to be used.
OptionalapiThe API key to access the routing service.
Required for OpenRouteService if not already covered by the given url.
OptionaldisplayShould the component be visible at all.
Only relevant if MapConfiguration.layout | layout is set to 'nineRegions'.
OptionaldisplayDefines whether the user can choose their route preference.
OptionaldisplayDefines whether the user can select types of routes to avoid.
OptionallayoutThe region where the plugin should be rendered.
Required if MapConfiguration.layout | layout is set to 'nineRegions',
ignored otherwise.
OptionalselectableList of available travel modes.
Generic options for all plugins.
Custom Plugin Positioning
There are two implemented layouting systems in POLAR configured by MapConfiguration.layout.
If
layoutis set to'nineRegions'all plugins are placed in a predefined region grid. Use displayComponent to control visibility and layoutTag to specify the target region.If
layoutis set to'standard', a plugin can be rendered in one of two ways:menusconfiguration. The IconMenu will handle positioning and rendering the plugin at the designated location.position: absolute) within the map container.