GeoMarker

GeoMarker[]

is a GeoGraphics primitive that represents a marker at the current $GeoLocation.

GeoMarker[loc]

is a GeoGraphics primitive that represents a marker at the location loc.

GeoMarker[{loc1,loc2,}]

is a GeoGraphics primitive that represents markers at locations loci.

GeoMarker[loc,marker]

is a GeoGraphics primitive that represents a custom marker at the location loc.

GeoMarker[{loc1,loc2,},marker]

is a GeoGraphics primitive that represents custom markers at locations loci.

Details and Options

  • GeoMarker is a GeoGraphics primitive.
  • The loci can be specified as latitude and longitude coordinates {lat,lon}, as GeoPosition[{lat,lon}], or as a named Entity[].
  • Coordinates and entities can be used together. The "Position" property is used for entities.
  • The default marker is a pushpin.
  • A custom marker can be defined as a Graphics or an Image. By default, the marker is centered at the origin of its internal coordinate system.
  • The following options can be given to GeoMarker:
  • "Alignment" Automatichow to align the marker
    "Color" Automaticmarker color
    "Scale" Automaticmarker scale
  • The same settings possible for Alignment can be used for "Alignment", including:
  • Automaticdefault alignment based on the environment
    Leftleft aligned
    Rightright aligned
    Toptop aligned
    Bottombottom aligned
    Centercentered

Examples

open allclose all

Basic Examples  (4)

Show the location of a city with a marker:

Use the Wolfram Spikey as a marker:

Use an icon as a marker:

Use a stylized pin as a custom marker:

Place the pin on London in a map of the UK:

Scope  (6)

Location  (4)

Place a geo marker at the current location:

Place a geo marker at a specific geo position:

Place a geo marker at a location specified by an entity:

Place multiple geo markers:

Marker  (2)

Use the default geo marker:

Use a custom marker:

Options  (4)

"Alignment"  (1)

Center centering:

Bottom centering:

"Color"  (1)

Use a green pushpin:

Various colors:

"Scale"  (2)

Adjust the scale of the pushpin in absolute points:

The marker size is independent of the size of the graphic:

Adjust the scale of the pushpin in scaled sizes:

The marker size scales with the size of the graphic:

Applications  (1)

Place geo markers in the 10 largest US cities, with marker size proportional to population:

Neat Examples  (1)

Construct a graphic for the most populous large mammal in New Zealand:

Use the graphic as a geo marker for the most populous (by humans) Kiwi cities:

Wolfram Research (2014), GeoMarker, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoMarker.html.

Text

Wolfram Research (2014), GeoMarker, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoMarker.html.

CMS

Wolfram Language. 2014. "GeoMarker." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GeoMarker.html.

APA

Wolfram Language. (2014). GeoMarker. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GeoMarker.html

BibTeX

@misc{reference.wolfram_2024_geomarker, author="Wolfram Research", title="{GeoMarker}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/GeoMarker.html}", note=[Accessed: 10-October-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_geomarker, organization={Wolfram Research}, title={GeoMarker}, year={2014}, url={https://reference.wolfram.com/language/ref/GeoMarker.html}, note=[Accessed: 10-October-2024 ]}