If layout is 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 layout is set to 'standard', a plugin can be rendered in one of two ways:
As part of the IconMenu: Configure the plugin in the IconMenu's
IconMenuPluginOptions.menus | menus configuration.
The IconMenu will handle positioning and rendering the plugin at the designated location.
Independent with CSS positioning: Directly add the plugin with
addPlugin. The plugin is responsible for its own positioning
using CSS (e.g., position: absolute) within the map container.
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.