Difference between revisions of "Module:Location map/data/USA Pennsylvania, Philadelphia County/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>PHILA19106
(create documentation)
 
blackwiki>WOSlinker
(fix)
Line 9: Line 9:
 
== Usage ==
 
== Usage ==
  
<code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|''function_name''}}</code>
+
<code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}<nowiki>|''function_name''}}</nowiki></code>
 +
}}
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |

Revision as of 19:23, 15 June 2018

{{Module rating }}


Location map of Philadelphia County
name Philadelphia County
border
coordinates
40.138
-75.285 ←↕→ -74.948
39.865
map center Lua error: callParserFunction: function "#coordinates" was not found.
image PhilaDistrict.PNG
PhilaDistrict.PNG


Module:Location map/data/USA Pennsylvania, Philadelphia County is a location map definition used to overlay markers and labels on an equirectangular projection map of the Pennsylvania county of Philadelphia



Usage

{{#invoke:Location map/data/USA Pennsylvania, Philadelphia County|''function_name''}}. 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 "USA Pennsylvania, Philadelphia County":

Map definition

  • name = Philadelphia County
    Name used in the default map caption
  • bottom = 39.865
    Latitude at bottom edge of map, in decimal degrees
  • left = -75.285
    Longitude at left edge of map, in decimal degrees
  • right = -74.948
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

  • At an image height of 200 pixels, that is 0.0014 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