Skip to content
GuidesToolkitAPI

ScalebarProps

ScalebarProps = object

Defined in: packages/expo-arcgis-toolkit/src/Scalebar.tsx:7

optional alignment?: AccessoryAlignment

Defined in: packages/expo-arcgis-toolkit/src/Scalebar.tsx:9

Where in the map view the scalebar sits.

'bottomLeading'

optional maxWidth?: number

Defined in: packages/expo-arcgis-toolkit/src/Scalebar.tsx:11

The widest the scalebar may get, in points (dp on Android).

175

optional minScale?: number

Defined in: packages/expo-arcgis-toolkit/src/Scalebar.tsx:17

The scalebar shows only when the map is zoomed in further than this scale.

0 (always)

optional style?: ScalebarStyle

Defined in: packages/expo-arcgis-toolkit/src/Scalebar.tsx:13

'alternatingBar'

optional units?: "metric" | "imperial"

Defined in: packages/expo-arcgis-toolkit/src/Scalebar.tsx:15

the device's measurement system

optional useGeodeticCalculations?: boolean

Defined in: packages/expo-arcgis-toolkit/src/Scalebar.tsx:19

Measures distances geodetically, which stays accurate at small scales.

true