AttributionControl
The VMapAttributionControl
component is used to display attribution data in a small text box on a map.
Basic usage
API
Attributes
Use attribution control options from leaflet documentation.
Name | Description | Type | Default |
---|---|---|---|
prefix | The HTML text shown before the attributions. Pass null to disable. | string | null | — |
attributions | Custom attributions text (e.g. '© OpenStreetMap contributors'). | string[] | — |
position | The position of the control (one of the corners of the map). See types for possible values. | ControlPosition | ExtraControlPosition | 'bottomright' |
Events
No events.
Slots
Name | Description |
---|---|
default | The default slot can be used to extend behavior. |
Exposes
Name | Description | Type |
---|---|---|
attributionControl | Leaflet attribution control instance. | Ref<Control.Attribution | null> |