MglAttributionControl
Render Attribution Control
import { MglAttributionControl } 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 'bottom-right'.
compact
- Type:
boolean
- Required:
false
- Default:
undefined
If true, the attribution control will always collapse when moving the map. If false, force the expanded attribution control. The default is a responsive attribution that collapses when the user moves the map on maps less than 640 pixels wide. Attribution should not be collapsed if it can comfortably fit on the map. compact should only be used to modify default attribution when map size makes it impossible to fit default attribution and when the automatic compact resizing for default settings are not sufficient.
customAttribution
- Type:
undefined
- Required:
false
- Default:
undefined
Attributions to show in addition to any other attributions.
Source
See source.