Difference between revisions of "Module:Location map/data/South Africa North West/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
m (Frietjes moved page Template:Location map South Africa North West to Module:Location map/data/South Africa North West/doc: preserve attribution history after merge with module)
m (17 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#switch:{{{1}}}
+
<!-- Place categories where indicated at the bottom of this page; interwikis at Wikidata -->
|name=North West (South African province)
+
{{Module:Location map/data/doc
|top=-24.5
+
| see also =  
|bottom=-28.25
+
* [[Module:Location map/data/South Africa]]
|left=22.5
+
 
|right=28.5
+
}}<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
|image=South Africa North West location map.svg
+
<!-- Categories below this line; interwikis at Wikidata -->
|image1=South Africa North West relief location map.svg
 
}}<noinclude>
 
{{Location map/Info}}
 
  
 
[[Category:South Africa location map templates|North West]]
 
[[Category:South Africa location map templates|North West]]
</noinclude>
+
}}</includeonly>

Latest revision as of 07:26, 27 September 2020


Location map of North West (South African province)
name North West (South African province)
border
coordinates
-24.5
22.5 ←↕→ 28.5
-28.25
map center Lua error: callParserFunction: function "#coordinates" was not found.
image South Africa North West location map.svg
South Africa North West location map.svg
image1 South Africa North West relief location map.svg
South Africa North West relief location map.svg


Module:Location map/data/South Africa North West is a location map definition used to overlay markers and labels on an equirectangular projection map of North West (South African province). 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 "South Africa North West":

Map definition

  • name = North West (South African province)
    Name used in the default map caption
  • bottom = -28.25
    Latitude at bottom edge of map, in decimal degrees
  • left = 22.5
    Longitude at left edge of map, in decimal degrees
  • right = 28.5
    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 6 degrees.

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

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

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


See also

Location map templates

Creating new map definitions