Difference between revisions of "Module:Location map/data/Canada Toronto/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
m (Frietjes moved page Template:Location map Canada Toronto to Module:Location map/data/Canada Toronto/doc: preserve attribution history after merge with module)
m (18 revisions imported)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#switch:{{{1}}}
+
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE. -->
|name = Toronto
+
{{Module:Location map/data/doc
|top = 43.8754583
+
|examples=
|bottom = 43.5655833
+
|see also=
|left = -79.6763555
+
* [[Module:Location map/data/Canada]]
|right = -79.0993611
+
* [[Module:Location map/data/Canada Ontario]]
|image = Toronto map.png
+
}}
}}<noinclude>
+
<includeonly>
{{Location map/Info}}
+
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Canada location map templates|Toronto]]
 
[[Category:Canada location map templates|Toronto]]
</noinclude>
+
</includeonly>

Latest revision as of 06:33, 27 September 2020


Location map of Toronto
name Toronto
border
coordinates
43.8754583
-79.6763555 ←↕→ -79.0993611
43.5655833
map center Lua error: callParserFunction: function "#coordinates" was not found.
image Toronto map.png
400x400px


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

Map definition

  • name = Toronto
    Name used in the default map caption
  • bottom = 43.5655833
    Latitude at bottom edge of map, in decimal degrees
  • left = -79.6763555
    Longitude at left edge of map, in decimal degrees
  • right = -79.0993611
    Longitude at right edge of map, in decimal degrees

Precision

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

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

Latitude: from North to South this map definition covers 0.3099 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