Module:Location map/data/Djibouti/doc

From HandWiki
< Module:Location map‎ | data/Djibouti
Revision as of 16:51, 30 October 2019 by imported>Spiderjerky
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Location map/data/Djibouti


Location map of Djibouti
name Djibouti
border
coordinates
12.9
41.5 ←↕→ 43.7
10.7
map center [ ⚑ ] 11°48′N 42°36′E / 11.8°N 42.6°E / 11.8; 42.6
image Djibouti location map.svg
Djibouti location map.svg
image1 Djibouti relief location map.jpg
Djibouti relief location map.jpg
Map of Djibouti

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

Map definition

  • name = Djibouti
    Name used in the default map caption
  • bottom = 10.7
    Latitude at bottom edge of map, in decimal degrees
  • left = 41.5
    Longitude at left edge of map, in decimal degrees
  • right = 43.7
    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. Examples may be found below or in the following:

Precision

Longitude: from West to East this map definition covers 2.2 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Djibouti (city) is located in Djibouti
Djibouti (city)
Djibouti (city)
Djibouti (city) (Djibouti)
{{Location map | Djibouti
| width   = 220
| lat_deg = 11.588
| lon_deg = 43.145
| label   = Djibouti (city)
}}

Location map many, using relief map (image1)

Location map/data/Djibouti/doc is located in Djibouti
Djibouti (city)
Djibouti (city)
Ali Sabieh
Ali Sabieh
Two locations in Djibouti
{{Location map many | Djibouti
| relief   = yes
| width    = 220
| caption  = Two locations in Djibouti
| lat1_deg = 11.588
| lon1_deg = 43.145
| label1   = Djibouti (city)
| lat2_deg = 11.15
| lon2_deg = 42.717
| label2   = Ali Sabieh
}}

Location map+, using AlternativeMap

Location map/data/Djibouti/doc is located in Djibouti
Djibouti (city)
Djibouti (city)
Ali Sabieh
Ali Sabieh
Two locations in Djibouti
{{Location map+ | Djibouti
| AlternativeMap = Djibouti relief location map.jpg
| width   = 220
| caption = Two locations in Djibouti
| places  =
  {{Location map~ | Djibouti
  | lat_deg = 11.588
  | lon_deg = 43.145
  | label   = Djibouti (city)
  }}
  {{Location map~ | Djibouti
  | lat_deg = 11.15
  | lon_deg = 42.717
  | label   = Ali Sabieh
  }}
}}

See also

Location map templates

Creating new map definitions