Module:Location map/data/USA Minnesota/doc

MyWikiBiz, Author Your Legacy — Friday November 22, 2024
< Module:Location map‎ | data/USA Minnesota
Revision as of 03:37, 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

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

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

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

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

Map definition

  • name = Minnesota
    Name used in the default map caption
  • bottom = 43.3
    Latitude at bottom edge of map, in decimal degrees
  • left = -97.4
    Longitude at left edge of map, in decimal degrees
  • right = -89.3
    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.1 degrees.

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

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

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

Examples using location map templates

Location map

Template:Location map

{{Location map | USA Minnesota
| width   = 250
| lat_deg = 44 | lat_min = 56 | lat_sec = 39 | lat_dir = N
| lon_deg = 93 | lon_min = 05 | lon_sec = 07 | lon_dir = W
| label   = Saint Paul
}}

Template:Clear

Location map many

Template:Location map many

{{Location map many | USA Minnesota
| width    = 250
| caption  = Locations in Minnesota
| lat1 = 49.345 | long1 = -95.063 | label1 = Angle Inlet
| lat2 = 43.502 | long2 = -93.488 | label2 = Emmons
| lat3 = 47.930 | long3 = -97.024 | label3 = East Grand Forks
| lat4 = 48.005 | long4 = -89.492 | label4 = Pigeon Point
}}

Template:Clear

Location map+

Template:Location map+

{{Location map+ | USA Minnesota
| width   = 250
| caption = Locations in Minnesota
| places  =
  {{Location map~ | USA Minnesota
  | lat = 49.345 | long = -95.063 | label = Angle Inlet
  }}
  {{Location map~ | USA Minnesota
  | lat = 43.502 | long = -93.488 | label = Emmons
  }}
  {{Location map~ | USA Minnesota
  | lat = 47.930 | long = -97.024 | label = East Grand Forks
  }}
  {{Location map~ | USA Minnesota
  | lat = 48.005 | long = -89.492 | label = Pigeon Point
  }}
}}

Template:Clear

Template:Clear

See also

Location map templates

Creating new map definitions