ZoomControl
The VMapZoomControl component is used to zoom in and out of the map.
Basic usage
API
Attributes
Use zoom control options from leaflet documentation.
| Name | Description | Type | Default |
|---|---|---|---|
| disabled | If true, then zoom control is disabled. | boolean | false |
| position | The position of the control (one of the corners of the map). See types for possible values. | ControlPosition | ExtraControlPosition | 'centerright' |
Events
No events.
Slots
| Name | Description |
|---|---|
| default | The default slot can be used to extend behavior. |
Exposes
| Name | Description | Type |
|---|---|---|
| zoomControl | Leaflet zoom control instance. | Ref<Control.Zoom | null> |