Module:Location map/data/USA Wisconsin

MyWikiBiz, Author Your Legacy — Thursday November 14, 2024
< Module:Location map
Revision as of 03:49, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Template:High-use Lua error: expandTemplate: template "coord" does not exist.

File:Map of Wisconsin NA.png
Map of Wisconsin (click on map to see larger image)

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

Map definition

  • name = Wisconsin
    Name used in the default map caption
  • bottom = 42.3
    Latitude at bottom edge of map, in decimal degrees
  • left = -93.1
    Longitude at left edge of map, in decimal degrees
  • right = -86
    Longitude at right edge of map, in decimal degrees

Alternative map

The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. The map displayed as image1 can be used with the relief or AlternativeMap parameters. Examples may be found below or in the following:

Precision

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

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

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

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

Examples using location map templates

Location map

Template:Location map

{{Location map | USA Wisconsin
| width   = 250
| lat_deg = 43 | lat_min = 04 | lat_sec = | lat_dir = N
| lon_deg = 89 | lon_min = 24 | lon_sec = | lon_dir = W
| label   = Madison
}}

Template:Clear

Location map many

Template:Location map many

{{Location map many | USA Wisconsin
| width    = 250
| caption  = Locations in Wisconsin
| lat1 = 47.035 | long1 = -90.431 | label1 = Outer Island
| lat2 = 42.508 | long2 = -89.032 | label2 = Beloit
| lat3 = 45.412 | long3 = -92.639 | label3 = St. Croix Falls
| lat4 = 45.317 | long4 = -86.911 | label4 = Detroit Island
}}

Template:Clear

Location map+

Template:Location map+

{{Location map+ | USA Wisconsin
| width   = 250
| caption = Locations in Wisconsin
| places  =
  {{Location map~ | USA Wisconsin
  | lat = 47.035 | long = -90.431 | label = Outer Island
  }}
  {{Location map~ | USA Wisconsin
  | lat = 42.508 | long = -89.032 | label = Beloit
  }}
  {{Location map~ | USA Wisconsin
  | lat = 45.412 | long = -92.639 | label = St. Croix Falls
  }}
  {{Location map~ | USA Wisconsin
  | lat = 45.317 | long = -86.911 | label = Detroit Island
  }}
}}

Template:Clear

See also

Location map templates

Creating new map definitions


return {
	name = 'Wisconsin',
	top = 47.5,
	bottom = 42.3,
	left = -93.1,
	right = -86.0,
	image = 'USA Wisconsin location map.svg',
    image1 = 'USA Wisconsin relief location map.svg'
}