Module:Location map/data/Zimbabwe

From Simple English Wikipedia, the free encyclopedia
Location map of Zimbabwe
name Zimbabwe
border
coordinates
-15.2
24.8 ←↕→ 33.6
-22.8
map center 19°00′S 29°12′E / 19°S 29.2°E / -19; 29.2
image Zimbabwe adm location map.svg
image1 Zimbabwe relief location map.jpg
image2 Zimbabwe location map Topographic.png
Map of Zimbabwe

Module:Location map/data/Zimbabwe is a location map definition used to overlay markers and labels on an equirectangular projection map of Zimbabwe. 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 "Zimbabwe":

Map definition

  • name = Zimbabwe
    Name used in the default map caption
  • bottom = -22.8
    Latitude at bottom edge of map, in decimal degrees
  • left = 24.8
    Longitude at left edge of map, in decimal degrees
  • right = 33.6
    Longitude at right edge of map, in decimal degrees

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 8.8 degrees.

  • At an image width of 200 pixels, that is 0.044 degrees per pixel.
  • At an image width of 1000 pixels, that is 0.0088 degrees per pixel.

Latitude: from North to South this map definition covers 7.6 degrees.

  • At an image height of 200 pixels, that is 0.038 degrees per pixel.
  • At an image height of 1000 pixels, that is 0.0076 degrees per pixel.

Examples using location map templates

Location map, using default map (image)

Harare is located in Zimbabwe
Harare
Harare
Harare (Zimbabwe)
{{Location map | Zimbabwe
| width   = 250
| lat_deg = -17.86
| lon_deg = 31.03
| label   = Harare
}}

Location map many, using relief map (image1)

Location map/data/Zimbabwe is located in Zimbabwe
Harare
Harare
Mutare
Mutare
Two locations in Zimbabwe
{{Location map many | Zimbabwe
| relief   = yes
| width    = 250
| caption  = Two locations in Zimbabwe
| lat1_deg = -17.86
| lon1_deg = 31.03
| label1   = Harare
| pos1     = bottom
| lat2_deg = -18.97
| lon2_deg = 32.63
| label2   = Mutare
| pos2     = bottom
}}

Location map+, using AlternativeMap

Location map/data/Zimbabwe is located in Zimbabwe
Harare
Harare
Mutare
Mutare
Two locations in Zimbabwe
{{Location map+ | Zimbabwe
| AlternativeMap = Zimbabwe location map Topographic.png
| width   = 250
| caption = Two locations in Zimbabwe
| places  =
  {{Location map~ | Zimbabwe
  | lat_deg  = -17.86
  | lon_deg  = 31.03
  | label    = Harare
  | position = bottom
  }}
  {{Location map~ | Zimbabwe
  | lat_deg  = -18.97
  | lon_deg  = 32.63
  | label    = Mutare
  | position = bottom
  }}
}}

See also

Location map templates

Creating new map definitions


return {
	name = 'Zimbabwe',
	top = -15.2,
	bottom = -22.8,
	left = 24.8,
	right  = 33.6,
	image  = 'Zimbabwe adm location map.svg',
	image1 = 'Zimbabwe relief location map.jpg',
	image2 = 'Zimbabwe location map Topographic.png'
}