OptionalcomponentA Vue component if required.
The component will be rendered by POLAR over the map.
The position is either to be determined by the plugin if layout === 'standard'
or will be determined by the layout.
OptionaliconIcon class for the plugin. This icon will be used as the default for rendering in menus.
OptionallocalesLocales used in the plugin.
The locales will be loaded to the namespace that equals the plugin's ID.
OptionaloptionsConfiguration options. Please also note that all configuration added via plugin constructors can be overridden in
the createMap's parameter mapConfiguration .
You may use either object (or a mix of them) to create the configuration, e.g. use the constructors for a base
configuration and the mapConfiguration object to override it for various use cases.
How exactly you do this is up to you and influences the minimum API call requirements your client has.
OptionalstorePinia store module if required.
If the storeModule features a setupPlugin action, it will be executed automatically after initialization.
If the storeModule features a teardownPlugin action, it will be executed automatically before unloading.
Unique technical identifier.
For bundled plugins, this is its name, e.g.
fullscreen.For external plugins, use
external-as a prefix and ensure uniqueness. For publicly published plugins, it is recommended to usepolar-plugin-Xas your package name and useexternal-Xas ID.Please do not use
external-XwhenXis a bundled plugin.