VScaleControl

ScaleControl Control.

<v-scale-control
  id="scale-control-id"
  :maxWidth="maxWidth"
  unit="unit"
  :position="position"
/>

Init Map

Property

PropertyRequiredTypeDescription
maxWidthfalsestringmax width. default to 100
unitfalsestringdistance unit, on of 'imperial', 'metric', 'nautical'. default to metric
positionfalsestringcontrol position

for more details you can access to mapbox website, go toopen in new window

Last Updated:
Contributors: timeroute