Skip to content

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.

NameDescriptionTypeDefault
prefixThe HTML text shown before the attributions. Pass null to disable.string | null
attributionsCustom attributions text (e.g. '© OpenStreetMap contributors').string[]
positionThe position of the control (one of the corners of the map). See types for possible values.ControlPosition | ExtraControlPosition'bottomright'

Events

No events.

Slots

NameDescription
defaultThe default slot can be used to extend behavior.

Exposes

NameDescriptionType
attributionControlLeaflet attribution control instance.Ref<Control.Attribution | null>

Released under the MIT License.