Module:Location map/data/United Arab Emirates

From imedwiki
Jump to navigation Jump to search


Location map of United Arab Emirates
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 / 24.45; 54
image United Arab Emirates location map.svg
United Arab Emirates location map.svg
image1 United Arab Emirates relief location map.jpg
United Arab Emirates relief location map.jpg
image2 Map of Dubai blank.svg
Map of Dubai blank.svg
mark Red pog.svg
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 (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 (Red pog.svg).

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)

Abu Dhabi is located in United Arab Emirates
Abu Dhabi
Abu Dhabi
Abu Dhabi (United Arab Emirates)
{{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)

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

Location map+, using AlternativeMap

Location map/data/United Arab Emirates is located in United Arab Emirates
Abu Dhabi
Abu Dhabi
Dubai
Dubai
Two locations in the United Arab Emirates
{{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

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