Module:Location map/data/Antigua

< Module:Location map
Revision as of 23:36, 15 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Lua error: expandTemplate: template "coord" does not exist.

File:Antigua and Barbuda-CIA WFB Map.png
Map of Antigua and Barbuda

Module:Location map/data/Antigua is a location map definition used to overlay markers and labels on an equirectangular projection map of Antigua. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.

Usage

These definitions are used by the following templates when invoked with parameter "Antigua":

Map definition

  • name = Antigua
    Name used in the default map caption
  • bottom = 16.957
    Latitude at bottom edge of map, in decimal degrees
  • left = -61.948
    Longitude at left edge of map, in decimal degrees
  • right = -61.634
    Longitude at right edge of map, in decimal degrees

Precision

Longitude: from West to East this map definition covers 0.314 degrees.

  • At an image width of 200 pixels, that is 0.0016 degrees per pixel.
  • At an image width of 1000 pixels, that is 0.0003 degrees per pixel.

Latitude: from North to South this map definition covers 0.227 degrees.

  • At an image height of 200 pixels, that is 0.0011 degrees per pixel.
  • At an image height of 1000 pixels, that is 0.0002 degrees per pixel.

Examples using location map templates

Location map

Template:Location map

{{Location map | Antigua
| width   = 250
| lat_deg = 17.117
| lon_deg = -61.85
| label   = St. John's
}}

Template:Clear

Location map many

Template:Location map many

{{Location map many | Antigua
| width    = 250
| caption  = Two locations in Antigua
| lat1_deg = 17.117
| lon1_deg = -61.85
| label1   = St. John's
| lat2_deg = 17.0
| lon2_deg = -61.767
| label2   = English Harbour
}}

Template:Clear

Location map+

Template:Location map+

{{Location map+ | Antigua
| width   = 250
| caption = Two locations in Antigua
| places  =
  {{Location map~ | Antigua
  | lat_deg = 17.117
  | lon_deg = -61.85
  | label   = St. John's
  }}
  {{Location map~ | Antigua
  | lat_deg = 17.0
  | lon_deg = -61.767
  | label   = English Harbour
  }}
}}

Template:Clear

See also

Location map templates

Creating new map definitions


return {
	name = 'Antigua',
	top = 17.184,
	bottom = 16.957,
	left = -61.948,
	right = -61.634,
	image = 'Antigua location map.svg'
}