Module:Location map/data/USA New York/doc

This is an old revision of this page, as edited by Zyxw (talk | contribs) at 05:09, 27 June 2013 (update documentation). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


Map of New York (click on map to see larger image)

Template:Location map USA New York is a ___location map definition used to overlay markers and labels on an equirectangular projection map of the U.S. state of New York. 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 New York":

Map definition

Alternative map

The map defined as image1 (Template:Location map/data/USA New York) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. The map defined as image2 (Template:Location map/data/USA New York) can only be displayed by using the AlternativeMap parameter. The use of these two parameters is shown in the examples below. Additional examples can be found at:

Precision

Longitude: from West to East this map definition covers Expression error: Unrecognized punctuation character "[". degrees.

  • At an image width of 200 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.
  • At an image width of 1000 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.

Latitude: from North to South this map definition covers Expression error: Unrecognized punctuation character "[". degrees.

  • At an image height of 200 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.
  • At an image height of 1000 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.

Examples using ___location map templates

Location map

 
 
Albany
Albany (New York)
{{Location map | USA New York
| width   = 250
| lat_deg = 42 | lat_min = 39 | lat_sec = 09 | lat_dir = N
| lon_deg = 73 | lon_min = 45 | lon_sec = 26 | lon_dir = W
| label   = Albany
}}

Location map many

 
 
Massena
 
Tottenville
 
Findley Lake
 
Montauk
Locations in New York
{{Location map many | USA New York
| width    = 250
| caption  = Locations in New York
| lat1 = 44.930 | long1 = -74.893 | label1 = Massena
| lat2 = 40.517 | long2 = -74.250 | label2 = Tottenville
| lat3 = 42.119 | long3 = -79.733 | label3 = Findley Lake
| lat4 = 41.038 | long4 = -71.951 | label4 = Montauk
}}

Location map+

 
 
Massena
 
Tottenville
 
Findley Lake
 
Montauk
Locations in New York
{{Location map+ | USA New York
| width   = 250
| caption = Locations in New York
| places  =
  {{Location map~ | USA New York
  | lat = 44.930 | long = -74.893 | label = Massena
  }}
  {{Location map~ | USA New York
  | lat = 40.517 | long = -74.250 | label = Tottenville
  }}
  {{Location map~ | USA New York
  | lat = 42.119 | long = -79.733 | label = Findley Lake
  }}
  {{Location map~ | USA New York
  | lat = 41.038 | long = -71.951 | label = Montauk
  }}
}}

See also

Location map templates
Infobox templates incorporating (passing values to) the Location map template
List