Difference between revisions of "Module:Location map/data/Kenya Nairobi/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
m (Frietjes moved page Template:Location map Nairobi to Module:Location map/data/Kenya Nairobi/doc: preserve attribution history after merge with module)
blackwiki>Frietjes
Line 1: Line 1:
{{#switch:{{{1}}}
+
<!-- Place categories where indicated at the bottom of this page; interwikis at Wikidata -->
|name  = Nairobi
+
{{Module:Location map/data/doc
|top    = -1.17
+
| see also =  
|bottom = -1.46
+
* [[Module:Location map/data/Kenya]]
|left  = 36.67
 
|right  = 37.21
 
|image  = Nairobi location map.png
 
}}<noinclude>
 
{{Location map/Info}}
 
<!--
 
-- The above switch-statement branches by text in parameter #1,
 
-- returning the associated value after each equals sign ("=").
 
-->
 
  
{{DEFAULTSORT:Nairobi}}
+
}}<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
[[Category:Kenya location map templates]]
+
<!-- Categories below this line; interwikis at Wikidata -->
</noinclude>
+
[[Category:Kenya location map templates|Nairobi]]
 +
}}</includeonly>

Revision as of 18:07, 27 March 2018


Location map of Nairobi
name Nairobi
border
coordinates
-1.17
36.67 ←↕→ 37.21
-1.46
map center Lua error: callParserFunction: function "#coordinates" was not found.
image Nairobi location map.png
400x400px


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

Map definition

  • name = Nairobi
    Name used in the default map caption
  • bottom = -1.46
    Latitude at bottom edge of map, in decimal degrees
  • left = 36.67
    Longitude at left edge of map, in decimal degrees
  • right = 37.21
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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


See also

Location map templates

Creating new map definitions