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)
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 | |||
image | Antigua location map.svg
| |||
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":
{{Location map|Antigua |...}}
{{Location map many|Antigua |...}}
{{Location map+|Antigua |...}}
{{Location map~|Antigua |...}}
Map definition
name = Antigua
- Name used in the default map caption
image = Antigua location map.svg
- The default map image, without "Image:" or "File:"
top = 17.184
- Latitude at top edge of map, in decimal degrees
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
{{Location map | Antigua | width = 250 | lat_deg = 17.117 | lon_deg = -61.85 | label = St. John's }}
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 }}
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 }} }}
See also
Location map templates
- Template:Location map, to display one mark and label using latitude and longitude
- Template:Location map many, to display up to nine marks and labels
- Template:Location map+, to display an unlimited number of marks and labels
Creating new map definitions
return { name = 'Antigua', top = 17.184, bottom = 16.957, left = -61.948, right = -61.634, image = 'Antigua location map.svg' }