Module:Location map/data/Somaliland
MyWikiBiz, Author Your Legacy — Thursday November 21, 2024
Jump to navigationJump to searchLua error: expandTemplate: template "coord" does not exist.
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
image = Somaliland location map (1).svg
- The default map image, without "Image:" or "File:"
top = 11.85
- Latitude at top edge of map, in decimal degrees
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)
{{Location map | Somaliland | width = 200 | lat_deg = 9.56 | lon_deg = 44.06 | label = Hargeisa }}
Location map many, using relief map (image1)
{{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+ | 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
- Template:Location map, to display one mark and label using latitude and longitude
- Template:Location map many, to display up to nine marks and labels
- Template:Location map+, to display an unlimited number of marks and labels
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' }