VScaleControl
ScaleControl
Control.
<v-scale-control
id="scale-control-id"
:maxWidth="maxWidth"
unit="unit"
:position="position"
/>
Init Map
Property
Property | Required | Type | Description |
---|---|---|---|
maxWidth | false | string | max width. default to 100 |
unit | false | string | distance unit, on of 'imperial', 'metric', 'nautical'. default to metric |
position | false | string | control position |
for more details you can access to mapbox website, go to