Module:Location map/data/Somaliland/doc

From Wikipedia, the free encyclopedia


Location map of Somaliland
name Somaliland
border
coordinates
11.85
42.4 ←↕→ 49.4
7.4
map center 9°37′30″N 45°54′00″E / 9.625°N 45.9°E / 9.625; 45.9
image Somaliland location map (1).svg
image1 Somaliland relief location map.svg
Map of Somaliland

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

Map definition

  • name = Somaliland
    Name used in the default map caption
  • bottom = 7.4
    Latitude at bottom edge of map, in decimal degrees
  • left = 42.4
    Longitude at left edge of map, in decimal degrees
  • right = 49.4
    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 7 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Hargeisa is located in Somaliland
Hargeisa
Hargeisa
Hargeisa (Somaliland)
{{Location map | Somaliland
| width   = 200
| lat_deg = 9.56
| lon_deg = 44.06
| label   = Hargeisa
}}

Location map many, using relief map (image1)

Location map/data/Somaliland/doc is located in Somaliland
Hargeisa
Hargeisa
Berbera
Berbera
Las Anod
Las Anod
Three locations in Somaliland
{{Location map many | Somaliland
| relief   = yes
| width    = 200
| caption  = Three locations in Somaliland
| lat1_deg = 9.56
| lon1_deg = 44.06
| label1   = Hargeisa
| lat2_deg = 10.43
| lon2_deg = 45.01
| label2   = Berbera
| lat3_deg = 8.47
| lon3_deg = 47.35
| label3   = Las Anod
}}

Location map+, using AlternativeMap

Location map/data/Somaliland/doc is located in Somalia
Hargeisa
Hargeisa
Berbera
Berbera
Las Anod
Las Anod
Three locations in Somaliland
{{Location map+ | Somaliland
| AlternativeMap = Somaliland Physical map with National and Administrative boundaries.svg
| width   = 200
| caption = Three locations in Somalia
| places  =
  {{Location map~ | Somaliland
  | lat_deg = 9.56
  | lon_deg = 44.06
  | label   = Hargeisa
  }}
  {{Location map~ | Somaliland
  | lat_deg = 10.43
  | lon_deg = 45.01
  | label   = Berbera
  }}
  {{Location map~ | Somaliland
  | lat_deg = 8.47
  | lon_deg = 47.35
  | label   = Las Anod
  }}
}}

See also

Location map templates

Creating new map definitions