Style | Example |
---|---|
line | |
graduated line | |
bar | |
alternatingBar | |
dualUnitLine |
metric
and imperial
. Defaults to the option most appropriate for the device locale. metric
displays distances in meters and kilometers depending on the map scale, and imperial
displays distances in feet and miles.alignment
property indicates how the scalebar has been placed on the UI and which section of the scalebar should remain fixed. For example, if you place it in the lower-left corner of the UI, set the alignment to left
which means that it will grow/shrink on the right side.fillColor
alternateFillColor
lineColor
shadowColor
textColor
textShadowColor
font