Module:Location map/data/USA Michigan


Location map of Michigan
name Michigan
border
coordinates
48.5
-90.6 ←↕→ -81.9
41.5
map center 45°00′N 86°15′W / 45°N 86.25°W / 45; -86.25
image USA Michigan location map.svg
image1 Relief map of USA Michigan.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

Lansing is located in Michigan
Lansing
Lansing
Lansing (Michigan)
{{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
}}

Location map many

Location map/data/USA Michigan is located in Michigan
Isle Royale
Isle Royale
Niles
Niles
Ironwood
Ironwood
Port Sanilac
Port Sanilac
Locations in Michigan
{{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
}}

Location map+

Location map/data/USA Michigan is located in Michigan
Isle Royale
Isle Royale
Niles
Niles
Ironwood
Ironwood
Port Sanilac
Port Sanilac
Locations in Michigan
{{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
  }}
}}

See also

Location map templates

Creating new map definitions



return {
	name = 'Michigan',
	top = 48.5,
	bottom = 41.5,
	left = -90.6,
	right = -81.9,
	image = 'USA Michigan location map.svg',
	image1 = 'Relief map of USA Michigan.png'
}