Difference between revisions of "Module:Location map/data/Antigua/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Timrollpickering
m (→‎Location map+: per Wikipedia:Categories for discussion/Log/2018 November 27, replaced: Location map by country templates → Country location map templates)
blackwiki>Spiderjerky
Line 84: Line 84:
 
}}<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
}}<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
<!-- Categories below this line; interwikis at Wikidata -->
 
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Country location map templates|Antigua]]
+
[[Category:Location map templates by country|Antigua]]
  
 
}}</includeonly>
 
}}</includeonly>

Revision as of 22:42, 30 October 2019


Location map of Antigua
name Antigua
border
coordinates
17.184
-61.948 ←↕→ -61.634
16.957
map center Lua error: callParserFunction: function "#coordinates" was not found.
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/doc 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/doc 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