GeoScaleBar


is an option for GeoGraphics that determines what scale to show on the map.

DetailsDetails

  • Typical settings for GeoScaleBar include:
  • Nonedo not include a scale
    Automaticinclude an automatic scale
    "Metric","Imperial"include a scale for a unit system
    unitinclude a scale in a particular unit
    {d1,d2,}include a scale with scale divisions , , 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.

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Show a map of Champaign, IL with a scale in the bottom-left corner:

In[1]:=
Click for copyable input
Out[1]=

Show the scale in kilometers:

In[1]:=
Click for copyable input
Out[1]=

Show a map of the United Kingdom with a scale in the top-right corner:

In[1]:=
Click for copyable input
Out[1]=

Show a scale of 100 kilometers:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2014
(10.0)