Module:Location map/data/USA Alaska Juneau
Jump to navigation
Jump to search
| name | Juneau | |||
|---|---|---|---|---|
| border coordinates | ||||
| 58.3098 | ||||
| -134.4376 | ←↕→ | -134.4002 | ||
| 58.2949 | ||||
| map center | Lua error: callParserFunction: function "#coordinates" was not found. | |||
| image | Juneau, Alaska.png
| |||
| ||||
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.
Contents
Usage
These definitions are used by the following templates when invoked with parameter "USA Alaska Juneau":
{{Location map | USA Alaska Juneau | ...}}{{Location map many | USA Alaska Juneau | ...}}{{Location map+ | USA Alaska Juneau | ...}}{{Location map~ | USA Alaska Juneau | ...}}
Map definition
name = Juneau- Name used in the default map caption
image = Juneau, Alaska.png- The default map image, without "Image:" or "File:"
top = 58.3098- Latitude at top edge of map, in decimal degrees
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)
{{Location map | USA Alaska Juneau
| width = 300
| lat_deg = 58.30272
| lon_deg = -134.4149
| label = Alaska Governor's Mansion
| label_size = 60
}}
Location map many, using defaul map (image)
{{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
}}
Location map+, using AlternativeMap
{{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
}}
}}
See also
Location map templates
- Template:Location map, to display one mark and label using latitude and longitude
- Template:Location map many, to display up to nine marks and labels
- Template:Location map+, to display an unlimited number of marks and labels
Creating new map definitions
return {
name = 'Juneau',
top = 58.3098,
bottom = 58.2949,
left = -134.4376,
right = -134.4002,
image = 'Juneau, Alaska.png'
}
