Difference between revisions of "Module:Location map/data/Somaliland"

From blackwiki
Jump to navigation Jump to search
Line 2: Line 2:
 
name = 'Somaliland',
 
name = 'Somaliland',
 
top = 11.8,
 
top = 11.8,
bottom = 7.65,
+
bottom = 7.5,
 
left = 42.5,
 
left = 42.5,
 
right = 49.5,
 
right = 49.5,
 
image = 'Somaliland Map1.svg'
 
image = 'Somaliland Map1.svg'
 
}
 
}

Revision as of 23:24, 10 February 2020


Location map of Somaliland
name Somaliland
border
coordinates
11.8
42.5 ←↕→ 49.5
7.5
map center Lua error: callParserFunction: function "#coordinates" was not found.
image Somaliland Map1.svg
File:Somaliland Map1.svg


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.5
    Latitude at bottom edge of map, in decimal degrees
  • left = 42.5
    Longitude at left edge of map, in decimal degrees
  • right = 49.5
    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.3 degrees.

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


See also

Location map templates

Creating new map definitions


return {
	name = 'Somaliland',
	top = 11.8,
	bottom = 7.5,
	left = 42.5,
	right = 49.5,
	image = 'Somaliland Map1.svg'
}