mgl-control - a custom control component

Controls

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

Constructors

Properties

Constructors

Properties

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

Init input