Module:Location map/data/USA Alaska

MyWikiBiz, Author Your Legacy — Saturday November 30, 2024
< Module:Location map
Revision as of 03:26, 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

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

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

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

Map definition

  • name = Alaska
    Name used in the default map caption
  • bottom = 51
    Latitude at bottom edge of map, in decimal degrees
  • left = 172
    Longitude at left edge of map, in decimal degrees
  • right = -129
    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 59 degrees.

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

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

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

Examples using location map templates

Location map: Eastern hemisphere, Deg/Min/Sec coordinates

Template:Location map

{{Location map | USA Alaska
| width = 250
| float = right
| label = Attu Island
| position = right
| lat_deg =  52 | lat_min= 54 | lat_sec = 09 | lat_dir = N
| lon_deg = 172 | lon_min= 54 | lon_sec = 34 | lon_dir = E
}}

Template:Clear

Location map: Eastern hemisphere, Decimal coordinates

Template:Location map

{{Location map | USA Alaska
| width = 250
| float = right
| label = Attu Island
| position = right
| lat = 52.9025
| long = 172.909444
}}

Template:Clear

Location map: Western hemisphere, Deg/Min/Sec coordinates, Relief map

Template:Location map

{{Location map | USA Alaska
| relief = yes
| width = 250
| float = right
| label = Ketchikan
| position = left
| caption = Location of [[Ketchikan]] in Alaska
| lat_deg =  55 | lat_min= 21 | lat_sec = 00 | lat_dir = N
| lon_deg = 131 | lon_min= 40 | lon_sec = 24 | lon_dir = W
}}

Template:Clear

Location map: Western hemisphere, Decimal coordinates, AlternativeMap

Template:Location map

{{Location map | USA Alaska
| AlternativeMap = 800x598 Carte Alaska R3.jpg
| width = 250
| float = right
| label = Ketchikan
| position = left
| caption = Location of [[Ketchikan]] in Alaska
| lat = 55.35
| long = -131.673333
}}

Template:Clear

Location map many: Deg/Min/Sec

Template:Location map many

{{Location map many | USA Alaska
| float = right | width = 300
| caption = [[Attu Island]] and [[Ketchikan]] in Alaska
| label = Attu Island | label_size = 90 | pos = right
| lat_deg =  52 | lat_min= 54 | lat_sec = 09 | lat_dir = N
| lon_deg = 172 | lon_min= 54 | lon_sec = 34 | lon_dir = E
| label2 = Ketchikan | label2_size = 90 | pos2 = left
| lat2_deg =  55 | lat2_min= 21 | lat2_sec = 00 | lat2_dir = N
| lon2_deg = 131 | lon2_min= 40 | lon2_sec = 24 | lon2_dir = W
}}

Template:Clear

Location map many: Decimal coordinates

Template:Location map many

{{Location map many | USA Alaska
| float = right | width = 300
| caption = [[Attu Island]] and [[Ketchikan]] in Alaska
| label = Attu Island | label_size = 90 | pos = right
| lat = 52.9025
| long = 172.909444
| label2 = Ketchikan | label2_size = 90 | pos2 = left
| lat2 = 55.35
| long2 = -131.673333
}}

Template:Clear

See also

Location map templates

Creating new map definitions


return {
	name = 'Alaska',
	image = 'USA Alaska location map.svg',
	image1 = 'Relief map of USA Alaska.png',
	top = 72,
	bottom = 51,
	left = 172,
	right = -129
}