Skip to main content

GeomapScaleControl

<ui5-geomap-scale-control>

The ui5-geomap-scale-control defines the Scale webcomponent.

ES6 Module Import​

import "@ui5/webcomponents-geomap/dist/GeomapScaleControl.js";

Basic Sample​

Properties​

units​

DescriptionUnits of the distance for the scale control. Possible values are "Imperial", "Metric" or "Nautical".
Type"Metric" | "Imperial" | "Nautical"
Default"Metric"

position​

DescriptionPosition of the control on the map. Can be one of the following: "TopLeft", "TopRight", "BottomLeft", "BottomRight".
TypeGeomapMapControlPosition
Default"TopLeft"

Slots​

No slots available for this component.

Events​

No events available for this component.

Methods​

No methods available for this component.

CSS Parts​

No CSS parts available for this component.