When layout is set to 'standard', a custom plugin can be rendered in one of two ways:
As part of the IconMenu: Set PluginOptions.renderType | renderType
to 'iconMenu' and 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: Set PluginOptions.renderType | renderType
to 'independent' (default). 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 (Standard Layout)
When
layoutis set to'standard', a custom plugin can be rendered in one of two ways:As part of the IconMenu: Set PluginOptions.renderType | renderType to
'iconMenu'and configure the plugin in the IconMenu's IconMenuPluginOptions.menus |menusconfiguration. The IconMenu will handle positioning and rendering the plugin at the designated location.Independent with CSS positioning: Set PluginOptions.renderType | renderType to
'independent'(default). The plugin is responsible for its own positioning using CSS (e.g.,position: absolute) within the map container.