is an option for GeoGraphics that specifies how to draw latitude and longitude axes.
GeoAxes
is an option for GeoGraphics that specifies how to draw latitude and longitude axes.
Details
- The latitude and longitude axes provide orientation and angular scale information on geo maps.
- The latitude axis is a meridian, and its ticks display geodetic latitude, in degrees by default.
- The longitude axis is a parallel, and its ticks display geodetic longitude, in degrees by default.
- GeoAxes{latspec,lonspec} applies the given specifications to the latitude and longitude axes. GeoAxesspec applies the given specification to both axes.
- Possible specifications for each axis include:
-
True,Automatic display an axis with automatic choice of parameters False,None do not display a geo axis <|param1val1,…|> display an axis with the given choice of parameters - Possible specification parameters include:
-
"AxisStyle" {} how to style the axis "Style" {} how to style ticks
Examples
open all close allBasic Examples (4)
Draw latitude and longitude axes on a Mercator map of the world:
GeoGraphics[GeoRange -> "World", GeoAxes -> True, GeoBackground -> "Plain", GeoProjection -> "Mercator"]Display geo grid lines and geo axes simultaneously on an azimuthal projection of the world:
GeoGraphics[GeoRange -> "World", GeoAxes -> True, GeoGridLines -> Automatic, GeoProjection -> "LambertAzimuthal", GeoBackground -> "Basic"]Draw geo axes with origin at a given location, also providing styling directives:
GeoGraphics[Entity["Country", "UnitedStates"], GeoAxes -> <|"AxisStyle" -> White, "Style" -> Directive[Haloing[White, 0, 1], Scaled[.025]]|>, GeoAxesOrigin -> Here]Draw axes on a local map of your area, crossing at your current geolocation:
HereGeoGraphics[%, GeoAxes -> True]Scope (3)
Draw geo grid lines and geo axes on the default equirectangular map of the world:
GeoGraphics["World", GeoGridLines -> True, GeoAxes -> True]Add styled geo axes on a map of the US:
GeoGraphics[Entity["Country", "UnitedStates"], GeoGridLines -> True, GeoAxes -> <|"AxisStyle" -> White, "Style" -> Haloing[White, 0, 1]|>, GeoAxesOrigin -> Here]Draw axes on a local map around the island of Hawaii:
GeoPosition[Entity["Island", "HawaiiIsland"]]GeoGraphics[Entity["Island", "HawaiiIsland"], GeoAxes -> True]Properties & Relations (2)
Axes and Frame report projected coordinates, which depend on the projection being used:
GeoPosition[Entity["Country", "Svalbard"]]GeoGraphics[Entity["Country", "Svalbard"], Frame -> True, GeoProjection -> #, GeoZoomLevel -> 5, ImageSize -> Small, GeoBackground -> "PlainNoLabels"]& /@ {"Equirectangular", "Mercator", "LambertAzimuthal"}GeoAxes always reports values of latitude and longitude, independently of the projection being used:
GeoGraphics[Entity["Country", "Svalbard"], GeoAxes -> True, GeoProjection -> #, GeoZoomLevel -> 5, ImageSize -> Small, GeoBackground -> "PlainNoLabels"]& /@ {"Equirectangular", "Mercator", "LambertAzimuthal"}Show them together in a cylindrical projection, with coinciding horizontal axes but different vertical axes:
GeoGraphics[Entity["Country", "Svalbard"], Frame -> True, GeoAxes -> True, GeoProjection -> "Mercator", AspectRatio -> 1, ImageSize -> Medium, GeoBackground -> "PlainNoLabels"]GeoAxes specifies whether to add latitude, longitude axes to the map and how to style them:
GeoGraphics[Entity["Country", "UnitedStates"], GeoAxes -> <|"AxisStyle" -> White, "Style" -> Directive[Haloing[White, 0, 1], Scaled[.025]]|>]GeoAxesOrigin specifies where they should be placed:
Show[%, GeoAxesOrigin -> Entity["City", {"Chicago", "Illinois", "UnitedStates"}]]History
Introduced in 2026 (15.0)
Text
Wolfram Research (2026), GeoAxes, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoAxes.html.
CMS
Wolfram Language. 2026. "GeoAxes." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GeoAxes.html.
APA
Wolfram Language. (2026). GeoAxes. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GeoAxes.html
BibTeX
@misc{reference.wolfram_2026_geoaxes, author="Wolfram Research", title="{GeoAxes}", year="2026", howpublished="\url{https://reference.wolfram.com/language/ref/GeoAxes.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_geoaxes, organization={Wolfram Research}, title={GeoAxes}, year={2026}, url={https://reference.wolfram.com/language/ref/GeoAxes.html}, note=[Accessed: 12-June-2026]}