ScalebarProps
ScalebarProps =
object
Defined in: packages/expo-arcgis-toolkit/src/Scalebar.tsx:7
Properties
Section titled “Properties”alignment?
Section titled “alignment?”
optionalalignment?:AccessoryAlignment
Defined in: packages/expo-arcgis-toolkit/src/Scalebar.tsx:9
Where in the map view the scalebar sits.
Default
Section titled “Default”'bottomLeading'maxWidth?
Section titled “maxWidth?”
optionalmaxWidth?:number
Defined in: packages/expo-arcgis-toolkit/src/Scalebar.tsx:11
The widest the scalebar may get, in points (dp on Android).
Default
Section titled “Default”175minScale?
Section titled “minScale?”
optionalminScale?: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.
Default
Section titled “Default”0 (always)style?
Section titled “style?”
optionalstyle?:ScalebarStyle
Defined in: packages/expo-arcgis-toolkit/src/Scalebar.tsx:13
Default
Section titled “Default”'alternatingBar'units?
Section titled “units?”
optionalunits?:"metric"|"imperial"
Defined in: packages/expo-arcgis-toolkit/src/Scalebar.tsx:15
Default
Section titled “Default”the device's measurement systemuseGeodeticCalculations?
Section titled “useGeodeticCalculations?”
optionaluseGeodeticCalculations?:boolean
Defined in: packages/expo-arcgis-toolkit/src/Scalebar.tsx:19
Measures distances geodetically, which stays accurate at small scales.
Default
Section titled “Default”true