NextGIS Frontend
    Preparing search index...

    Interface OlControlContainerOptions

    interface OlControlContainerOptions {
        controlContainerOptions?: Omit<ControlContainerOptions<any>, "map">;
        element?: HTMLElement;
        render?: (arg0: MapEvent) => void;
        target?: string | HTMLElement;
    }

    Hierarchy

    • Options
      • OlControlContainerOptions
    Index
    controlContainerOptions?: Omit<ControlContainerOptions<any>, "map">
    element?: HTMLElement

    The element is the control's container element. This only needs to be specified if you're developing a custom control.

    render?: (arg0: MapEvent) => void

    Function called when the control should be re-rendered. This is called in a requestAnimationFrame callback.

    target?: string | HTMLElement

    Specify a target if you want the control to be rendered outside of the map's viewport.