Module:Location map/data/New York City Railroads/doc

From HandWiki
< Module:Location map‎ | data/New York City Railroads
Revision as of 18:03, 3 December 2018 by imported>Timrollpickering (→‎Location map, using default map (image): per Wikipedia:Categories for discussion/Speedy, replaced: New York location maps → New York (state) location map templates)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Location map/data/New York City Railroads


Location map of New York City Railroads
name New York City Railroads
border
coordinates
40.8315608
-74.1093279 ←↕→ -73.9188141
40.682894
map center [ ⚑ ] 40°45′26″N 74°00′51″W / 40.7572274°N 74.014071°W / 40.7572274; -74.014071
image New York City Railroads ca 1900.png
New York City Railroads ca 1900.png
New York City Railroads ca 1900

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

Map definition

  • name = New York City Railroads
    Name used in the default map caption
  • bottom = 40.682894
    Latitude at bottom edge of map, in decimal degrees
  • left = -74.1093279
    Longitude at left edge of map, in decimal degrees
  • right = -73.9188141
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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

Examples using location map templates

Location map, using default map (image)

Weehawken Terminal is located in New York City Railroads
Weehawken Terminal
Weehawken Terminal
Weehawken Terminal (New York City Railroads)
{{Location map | New York City Railroads 
| width   = 200
| lat_deg = 40.771639
| lon_deg =  -74.01275
| label   = Weehawken Terminal
}}

See also

Location map templates

Creating new map definitions