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 .

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 .

Details and OptionsDetails and Options

  • GeoMarker is a GeoGraphics primitive.
  • The can be specified as latitude and longitude coordinates , as GeoPosition[{lat,lon}], or as a named Entity[].
  • Coordinates and entities can be used together. The 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 , including:
  • Automaticdefault alignment based on the environment
    Leftleft aligned
    Rightright aligned
    Toptop aligned
    Bottombottom aligned
    Centercentered

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Show the location of a city with a marker:

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

Use the Wolfram|Alpha Spikey as a marker:

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

Use a stylized pin as a custom marker:

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

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

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