Module:Location map/data/United Arab Emirates/doc
This is a documentation subpage for Module:Location map/data/United Arab Emirates. It may contain usage information, categories and other content that is not part of the original module page. |
name | United Arab Emirates | |||
---|---|---|---|---|
border coordinates | ||||
26.5 | ||||
51.4 | ←↕→ | 56.6 | ||
22.4 | ||||
map center | 24°27′N 54°00′E / 24.45°N 54°E | |||
image | United Arab Emirates location map.svg
| |||
image1 | United Arab Emirates relief location map.jpg
| |||
image2 | Map of Dubai blank.svg
| |||
mark | Red pog.svg
|
Module:Location map/data/United Arab Emirates is a location map definition used to overlay markers and labels on an equirectangular projection map of United Arab Emirates. 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 "United Arab Emirates":
{{Location map|United Arab Emirates |...}}
{{Location map many|United Arab Emirates |...}}
{{Location map+|United Arab Emirates |...}}
{{Location map~|United Arab Emirates |...}}
Map definition
name = United Arab Emirates
- Name used in the default map caption
image = United Arab Emirates location map.svg
- The default map image, without "Image:" or "File:"
image1 = United Arab Emirates relief location map.jpg
- An alternative map image, usually a relief map, which can be displayed via the relief or AlternativeMap parameters
image2 = Map of Dubai blank.svg
- Alternative map image which can be displayed via the AlternativeMap parameter
top = 26.5
- Latitude at top edge of map, in decimal degrees
bottom = 22.4
- Latitude at bottom edge of map, in decimal degrees
left = 51.4
- Longitude at left edge of map, in decimal degrees
right = 56.6
- Longitude at right edge of map, in decimal degrees
mark = Red pog.svg ()
- The default mark image to display with this map. This can be overridden by the
mark
parameter in Template:Location map, which would otherwise default to Red pog.svg ().
- The default mark image to display with this map. This can be overridden by the
Alternative map
The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. The map displayed as image1 can be used with the relief or AlternativeMap parameters. The map displayed as image2 can be used with the AlternativeMap parameter. Examples may be found below or in the following:
- Template:Location map#Relief parameter
- Template:Location map+/relief
- Template:Location map#AlternativeMap parameter
- Template:Location map+/AlternativeMap
Precision
Longitude: from West to East this map definition covers 5.2 degrees.
- At an image width of 200 pixels, that is 0.026 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0052 degrees per pixel.
Latitude: from North to South this map definition covers 4.1 degrees.
- At an image height of 200 pixels, that is 0.0205 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0041 degrees per pixel.
Examples using location map templates
Location map, using default map (image)
{{Location map | United Arab Emirates | width = 250 | lat_deg = 24.47 | lon_deg = 54.37 | label = Abu Dhabi }}
Location map many, using relief map (image1)
{{Location map many | United Arab Emirates | relief = yes | width = 250 | caption = Two locations in the United Arab Emirates | lat1_deg = 24.47 | lon1_deg = 54.37 | label1 = Abu Dhabi | lat2_deg = 25.25 | lon2_deg = 55.3 | label2 = Dubai }}
Location map+, using AlternativeMap
{{Location map+ | United Arab Emirates | AlternativeMap = United Arab Emirates relief location map.jpg | width = 250 | caption = Two locations in the United Arab Emirates | places = {{Location map~ | United Arab Emirates | lat_deg = 24.47 | lon_deg = 54.37 | label = Abu Dhabi }} {{Location map~ | United Arab Emirates | lat_deg = 25.25 | lon_deg = 55.3 | label = Dubai }} }}
See also
- Module:Location map/data/Dubai, uses same image but with Dubai highlighted
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