Module:Location map/data/USA Alaska Juneau

< 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 Juneau is a location map definition used to overlay markers and labels on an equirectangular projection map of Juneau. 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 Juneau":

Map definition

  • name = Juneau
    Name used in the default map caption
  • bottom = 58.2949
    Latitude at bottom edge of map, in decimal degrees
  • left = -134.4376
    Longitude at left edge of map, in decimal degrees
  • right = -134.4002
    Longitude at right edge of map, in decimal degrees

Precision

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

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

Latitude: from North to South this map definition covers 0.0149 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 Juneau
| width   = 300
| lat_deg = 58.30272
| lon_deg = -134.4149
| label   = Alaska Governor's Mansion
| label_size = 60
}}

Template:Clear

Location map many, using defaul map (image)

Template:Location map many

{{Location map many | USA Alaska Juneau
| width    = 300
| caption  = Two locations in Juneau
| lat1_deg = 58.30272
| lon1_deg = -134.4149
| label1   = Alaska Governor's Mansion
| label1_size = 60
| lat2_deg = 58.30008
| lon2_deg = -134.40535
| label2   = Alaska Steam Laundry
| label2_size = 60
}}

Template:Clear

Location map+, using AlternativeMap

Template:Location map+

{{Location map+ | USA Alaska Juneau
| AlternativeMap = Juneau, Alaska.png
| width   = 300
| caption = Two locations in Juneau
| places  =
  {{Location map~ | USA Alaska Juneau
  | lat_deg = 58.30272
  | lon_deg = -134.4149
  | label   = Alaska Governor's Mansion
  | label_size = 60
  }}
  {{Location map~ | USA Alaska Juneau
  | lat_deg = 58.30008
  | lon_deg = -134.40535
  | label   = Alaska Steam Laundry
  | label_size = 60
  }}
}}

Template:Clear

See also

Location map templates

Creating new map definitions



return {
	name = 'Juneau',
	top = 58.3098,
	bottom = 58.2949,
	left = -134.4376,
	right = -134.4002,
	image = 'Juneau, Alaska.png'
}