Module:Location map/data/USA Michigan/doc

MyWikiBiz, Author Your Legacy — Sunday November 24, 2024
Jump to navigationJump to search

This is the documentation page for Module:Location map/data/USA Michigan

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

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

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

Map definition

  • name = Michigan
    Name used in the default map caption
  • bottom = 41.5
    Latitude at bottom edge of map, in decimal degrees
  • left = -90.6
    Longitude at left edge of map, in decimal degrees
  • right = -81.9
    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 8.7 degrees.

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

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

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

Examples using location map templates

Location map

Template:Location map

{{Location map | USA Michigan
| width   = 250
| lat_deg = 42 | lat_min = 44 | lat_sec = 01 | lat_dir = N
| lon_deg = 84 | lon_min = 32 | lon_sec = 48 | lon_dir = W
| label   = Lansing
}}

Template:Clear

Location map many

Template:Location map many

{{Location map many | USA Michigan
| width    = 250
| caption  = Locations in Michigan
| lat1 = 48.000 | long1 = -88.917 | label1 = Isle Royale
| lat2 = 41.829 | long2 = -86.254 | label2 = Niles
| lat3 = 46.455 | long3 = -90.171 | label3 = Ironwood
| lat4 = 43.431 | long4 = -82.544 | label4 = Port Sanilac
}}

Template:Clear

Location map+

Template:Location map+

{{Location map+ | USA Michigan
| width   = 250
| caption = Locations in Michigan
| places  =
  {{Location map~ | USA Michigan
  | lat = 48.000 | long = -88.917 | label = Isle Royale
  }}
  {{Location map~ | USA Michigan
  | lat = 41.829 | long = -86.254 | label = Niles
  }}
  {{Location map~ | USA Michigan
  | lat = 46.455 | long = -90.171 | label = Ironwood
  }}
  {{Location map~ | USA Michigan
  | lat = 43.431 | long = -82.544 | label = Port Sanilac
  }}
}}

Template:Clear

See also

Location map templates

Creating new map definitions