Module:Location map/data/United Arab Emirates

< Module:Location map
Revision as of 03:53, 16 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:United Arab Emirates-CIA WFB Map.png
Map of the United Arab Emirates

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":

Map definition

  • name = United Arab Emirates
    Name used in the default map caption
  • 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 (8px)
    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 (8px).

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:

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)

Template:Location map

{{Location map | United Arab Emirates
| width   = 250
| lat_deg = 24.47
| lon_deg = 54.37
| label   = Abu Dhabi
}}

Template:Clear

Location map many, using relief map (image1)

Template:Location map many

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

Template:Clear

Location map+, using AlternativeMap

Template:Location map+

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

Template:Clear

Template:Clear

See also

Location map templates

Creating new map definitions


return {
	name = 'United Arab Emirates',
	top = 26.5,
	bottom = 22.4,
	left = 51.4,
	right = 56.6,
	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'
}