Module:Location map/data/Antigua

From HandWiki
< Module:Location map
Revision as of 08:23, 21 March 2018 by imported>Frietjes (created from Template:Location map Antigua, edit history will be saved in Module talk:Location map/data/Antigua/doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Location map of Antigua
name Antigua
border
coordinates
17.184
-61.948 ←↕→ -61.634
16.957
map center [ ⚑ ] 17°04′14″N 61°47′28″W / 17.0705°N 61.791°W / 17.0705; -61.791
image Antigua location map.svg
Antigua location map.svg
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

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

Location map many

Location map/data/Antigua is located in Antigua
St. John's
St. John's
English Harbour
English Harbour
Two locations in Antigua
{{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
}}

Location map+

Location map/data/Antigua is located in Antigua
St. John's
St. John's
English Harbour
English Harbour
Two locations in Antigua
{{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
  }}
}}

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'
}