Difference between revisions of "Module:Location map/data/South Africa Gauteng Greater Johannesburg/doc"

From blackwiki
Jump to navigation Jump to search
m (10 revisions imported)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#switch:{{{1}}}
+
<!-- Place categories where indicated at the bottom of this page; interwikis at Wikidata -->
|name=Greater Johannesburg
+
{{Module:Location map/data/doc
|top=-25.9
+
|image=
|bottom=-26.4
+
|examples=
|left=27.65
+
|see also=
|right=28.5
+
}}
|image=Greater Johannesburg OpenStreetMap small.svg
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
}}<noinclude>
+
<!-- Categories below this line; interwikis at Wikidata -->
{{Location map/Info}}
 
 
[[Category:South Africa location map templates|Gauteng Greater Johannesburg]]
 
[[Category:South Africa location map templates|Gauteng Greater Johannesburg]]
</noinclude>
+
[[Category:Johannesburg templates]]
 +
}}</includeonly>

Latest revision as of 07:26, 27 September 2020


Location map of Greater Johannesburg
name Greater Johannesburg
border
coordinates
-25.9
27.65 ←↕→ 28.5
-26.4
map center Lua error: callParserFunction: function "#coordinates" was not found.
image Greater Johannesburg OpenStreetMap small.svg
Greater Johannesburg OpenStreetMap small.svg


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

Map definition

  • name = Greater Johannesburg
    Name used in the default map caption
  • bottom = -26.4
    Latitude at bottom edge of map, in decimal degrees
  • left = 27.65
    Longitude at left edge of map, in decimal degrees
  • right = 28.5
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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


See also

Location map templates

Creating new map definitions