Jump to content

Module:Location map/data/USA Illinois/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Zyxw (talk | contribs) at 13:19, 24 June 2013 (create documentation). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Map of Illinois (click on map to see larger image)

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

Map definition

Alternative map

The map defined as image1 (Template:Location map/data/USA Illinois) 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 Illinois) 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

Springfield is located in Illinois
Springfield
Springfield
Springfield (Illinois)
{{Location map | USA Illinois
| width   = 200
| lat_deg =  39 | lat_min = 46 | lat_sec = 59 | lat_dir = N 
| lon_deg = 089 | lon_min = 39 | lon_sec = 00 | lon_dir = W
| label   = Springfield
}}

Location map many

Location map/data/USA Illinois/doc is located in Illinois
Warren
Warren
Cairo
Cairo
Meyer
Meyer
Calumet City
Calumet City
Locations in Illinois
{{Location map many | USA Illinois
| width    = 200
| caption  = Locations in Illinois
| lat1 = 42.496 | long1 = -89.990 | label1 = Warren
| lat2 = 37.013 | long2 = -89.180 | label2 = Cairo
| lat3 = 40.148 | long3 = -91.504 | label3 = Meyer
| lat4 = 41.614 | long4 = -87.546 | label4 = Calumet City
}}

Location map+

Location map/data/USA Illinois/doc is located in Illinois
Warren
Warren
Cairo
Cairo
Meyer
Meyer
Calumet City
Calumet City
Locations in Illinois
{{Location map+ | USA Illinois
| width   = 200
| caption = Locations in Illinois
| places  =
  {{Location map~ | USA Illinois
  | lat = 42.496 | long = -89.990 | label = Warren
  }}
  {{Location map~ | USA Illinois
  | lat = 37.013 | long = -89.180 | label = Cairo
  }}
  {{Location map~ | USA Illinois
  | lat = 40.148 | long = -91.504 | label = Meyer
  }}
  {{Location map~ | USA Illinois
  | lat = 41.614 | long = -87.546 | label = Calumet City
  }}
}}

See also

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