Module:Location map/data/USA Alaska Sitka

< Module:Location map
Revision as of 03:27, 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.

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

Map definition

  • name = Sitka
    Name used in the default map caption
  • bottom = 57.0417
    Latitude at bottom edge of map, in decimal degrees
  • left = -135.3767
    Longitude at left edge of map, in decimal degrees
  • right = -135.2977
    Longitude at right edge of map, in decimal degrees

Precision

Longitude: from West to East this map definition covers 0.079 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Template:Location map

{{Location map | USA Alaska Sitka
| width   = 300
| lat_deg = 57.0507
| lon_deg = -135.34099
| label   = Alaska Native Brotherhood Hall
| label_size = 60
}}

Template:Clear

Location map many, using defaul map (image)

Template:Location map many

{{Location map many | USA Alaska Sitka
| width    = 300
| caption  = Two locations in Sitka
| lat1_deg = 57.0507
| lon1_deg = -135.34099
| label1   = Alaska Native Brotherhood Hall
| label1_size = 60
| lat2_deg = 57.04888
| lon2_deg = -135.31596
| label2   = Sitka National Historical Park
| label2_size = 60
}}

Template:Clear

Location map+, using AlternativeMap

Template:Location map+

{{Location map+ | USA Alaska Sitka
| AlternativeMap = Sitka, Alaska.png
| width   = 300
| caption = Two locations in Sitka
| places  =
  {{Location map~ | USA Alaska Sitka
  | lat_deg = 57.0507
  | lon_deg = -135.34099
  | label   = Alaska Native Brotherhood Hall
  | label_size = 60
  }}
  {{Location map~ | USA Alaska Sitka
  | lat_deg = 57.04888
  | lon_deg = -135.31596
  | label   = Sitka National Historical Park
  | label_size = 60
  }}
}}

Template:Clear

See also

Location map templates

Creating new map definitions



return {
	name = 'Sitka',
	top = 57.0697,
	bottom = 57.0417,
	left = -135.3767,
	right = -135.2977,
	image = 'Sitka, Alaska.png'
}