is an option for GeoGraphics that determines what scale to show on the map.
GeoScaleBar
is an option for GeoGraphics that determines what scale to show on the map.
Details
- Typical settings for GeoScaleBar include:
-
None do not include a scale Automatic include an automatic scale "Metric","Imperial" include a scale for a unit system unit include a scale in a particular unit {d1,d2,…} include a scale with scale divisions d1, d2, etc. {scale1,scale2} include a scale with two sets of divisions Placed[scale,pos] position the scale at position pos - The possible positions are:
-
{x,y} scaled position in the map GeoPosition[lat,lon] specific geographic location {pos1,pos2} end points for the scale - Scales are most accurate near the middle of the map and become distorted near the edges.
- By default, scales are not shown if there would be too much distortion for the map.
Examples
Basic Examples (4)
Show a map of Champaign, IL with a scale in the bottom-left corner:
GeoGraphics[Entity["City", {"Champaign", "Illinois", "UnitedStates"}], GeoScaleBar -> {"Imperial", "Metric"}]GeoGraphics[Entity["City", {"Champaign", "Illinois", "UnitedStates"}], GeoScaleBar -> "Kilometers"]Show a map of the United Kingdom with a scale in the top-right corner:
GeoGraphics[Entity["Country", "UnitedKingdom"], GeoScaleBar -> Placed["Kilometers", {Right, Top}]]Show a scale of 100 kilometers:
GeoGraphics[Entity["Country", "UnitedKingdom"], GeoScaleBar -> Placed[Quantity[{0, 100}, "Kilometers"], {Right, Top}]]Related Guides
History
Text
Wolfram Research (2014), GeoScaleBar, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoScaleBar.html.
CMS
Wolfram Language. 2014. "GeoScaleBar." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GeoScaleBar.html.
APA
Wolfram Language. (2014). GeoScaleBar. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GeoScaleBar.html
BibTeX
@misc{reference.wolfram_2026_geoscalebar, author="Wolfram Research", title="{GeoScaleBar}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/GeoScaleBar.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_geoscalebar, organization={Wolfram Research}, title={GeoScaleBar}, year={2014}, url={https://reference.wolfram.com/language/ref/GeoScaleBar.html}, note=[Accessed: 13-June-2026]}