POLAR reference
    Preparing search index...

    Interface PluginOptions

    Generic options for all plugins.

    When layout is set to 'standard', a custom plugin can be rendered in one of two ways:

    1. 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.

    2. 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.

    interface PluginOptions {
        displayComponent?: boolean;
        layoutTag?:
            | "TOP_LEFT"
            | "TOP_MIDDLE"
            | "TOP_RIGHT"
            | "MIDDLE_LEFT"
            | "MIDDLE_MIDDLE"
            | "MIDDLE_RIGHT"
            | "BOTTOM_LEFT"
            | "BOTTOM_MIDDLE"
            | "BOTTOM_RIGHT";
    }

    Hierarchy (View Summary)

    Index

    Properties

    displayComponent?: boolean

    Should the component be visible at all. Only relevant if layout is set to 'nineRegions'.

    false

    layoutTag?:
        | "TOP_LEFT"
        | "TOP_MIDDLE"
        | "TOP_RIGHT"
        | "MIDDLE_LEFT"
        | "MIDDLE_MIDDLE"
        | "MIDDLE_RIGHT"
        | "BOTTOM_LEFT"
        | "BOTTOM_MIDDLE"
        | "BOTTOM_RIGHT"

    The region where the plugin should be rendered. Required if layout is set to 'nineRegions', ignored otherwise.