MglCustomControl
Render a custom control with your content in the default slot
typescript
import { MglCustomControl } from '@indoorequal/vue-maplibre-gl';
Props
position
- Type:
ControlPosition
- Required:
false
- Default:
undefined
Position on the map to which the control will be added. Valid values are 'top-left', 'top-right', 'bottom-left', and 'bottom-right'. Defaults to 'top-left'.
class (since 6.1.0)
- Type:
string
- Required:
false
- Default:
"maplibregl-ctrl maplibregl-ctrl-group"
Set the classes on the control div
Slots
default
Slot to render the content of the control
Source
See source.