Module:Location map/data/USA North Dakota

< Module:Location map
Revision as of 03:42, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Lua error: expandTemplate: template "coord" does not exist.

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

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

Map definition

  • name = North Dakota
    Name used in the default map caption
  • bottom = 45.5
    Latitude at bottom edge of map, in decimal degrees
  • left = -104.3
    Longitude at left edge of map, in decimal degrees
  • right = -96.4
    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.9 degrees.

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

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

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

Examples using location map templates

Location map

Template:Location map

{{Location map | USA North Dakota
| width   = 250
| lat_deg =  46 | lat_min = 48 | lat_sec = 48 | lat_dir = N 
| lon_deg = 100 | lon_min = 46 | lon_sec = 44 | lon_dir = W
| label   = Bismarck
}}

Template:Clear

Location map many

Template:Location map many

{{Location map many | USA North Dakota
| width    = 250
| caption  = Locations in North Dakota
| lat1 = 48.996 | long1 = -102.551 | label1 = Portal
| lat2 = 45.946 | long2 = -102.158 | label2 = North Lemmon
| lat3 = 46.916 | long3 = -104.004 | label3 = Beach
| lat4 = 46.877 | long4 = -96.789  | label4 = Fargo
}}

Template:Clear

Location map+

Template:Location map+

{{Location map+ | USA North Dakota
| width   = 250
| caption = Locations in North Dakota
| places  =
  {{Location map~ | USA North Dakota
  | lat = 48.996 | long = -102.551 | label = Portal
  }}
  {{Location map~ | USA North Dakota
  | lat = 45.946 | long = -102.158 | label = North Lemmon
  }}
  {{Location map~ | USA North Dakota
  | lat = 46.916 | long = -104.004 | label = Beach
  }}
  {{Location map~ | USA North Dakota
  | lat = 46.877 | long = -96.789  | label = Fargo
  }}
}}

Template:Clear

See also

Location map templates

Creating new map definitions


return {
	name = 'North Dakota',
	top = 49.4,
	bottom = 45.5,
	left = -104.3,
	right = -96.4,
	image = 'USA North Dakota location map.svg',
	image1 = 'USA North Dakota relief location map.jpg'
}