Module:Location map/data/Somaliland

MyWikiBiz, Author Your Legacy — Thursday November 21, 2024
< Module:Location map
Revision as of 03:03, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Lua error: expandTemplate: template "coord" does not exist.

File:Somaliland regions.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

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)

Template:Location map

{{Location map | Somaliland
| width   = 200
| lat_deg = 9.56
| lon_deg = 44.06
| label   = Hargeisa
}}

Template:Clear

Location map many, using relief map (image1)

Template:Location map many

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

Template:Clear

Location map+, using AlternativeMap

Template:Location map+

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

Template:Clear

See also

Location map templates

Creating new map definitions


return {
	name = 'Somaliland',
	top = 11.85,
	bottom = 7.4,
	left = 42.4,
	right = 49.4,
	image = 'Somaliland location map (1).svg'
}