@maplibre/ngx-maplibre-gl

    Class ControlComponent<T>

    mgl-control - a custom control component

    ...
    <mgl-map ...>
    <mgl-control> Hello </mgl-control>
    ...
    <mgl-control mglNavigation></mgl-control>
    ...
    <mgl-control mglScale unit="imperial" position="top-right"></mgl-control>
    ...
    <mgl-control
    mglTerrain
    source="rasterDemSource"
    exaggeration="3.1"
    ></mgl-control>
    </mgl-map>

    Type Parameters

    • T extends IControl

    Implements

    • OnDestroy
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    control: CustomControl | T
    position: InputSignal<undefined | ControlPosition> = ...

    Init input

    Methods

    MMNEPVFCICPMFPCPTTAAATR