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:

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:

Introduced in 2014
 (10.0)