Module:Location map/data/USA Alaska Sitka
Jump to navigation
Jump to search
| name | Sitka | |||
|---|---|---|---|---|
| border coordinates | ||||
| 57.0697 | ||||
| -135.3767 | ←↕→ | -135.2977 | ||
| 57.0417 | ||||
| map center | Lua error: callParserFunction: function "#coordinates" was not found. | |||
| image | Sitka, Alaska.png
| |||
| ||||
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.
Contents
Usage
These definitions are used by the following templates when invoked with parameter "USA Alaska Sitka":
{{Location map | USA Alaska Sitka | ...}}{{Location map many | USA Alaska Sitka | ...}}{{Location map+ | USA Alaska Sitka | ...}}{{Location map~ | USA Alaska Sitka | ...}}
Map definition
name = Sitka- Name used in the default map caption
image = Sitka, Alaska.png- The default map image, without "Image:" or "File:"
top = 57.0697- Latitude at top edge of map, in decimal degrees
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)
{{Location map | USA Alaska Sitka
| width = 300
| lat_deg = 57.0507
| lon_deg = -135.34099
| label = Alaska Native Brotherhood Hall
| label_size = 60
}}
Location map many, using defaul map (image)
{{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
}}
Location map+, using AlternativeMap
{{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
}}
}}
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 = 'Sitka',
top = 57.0697,
bottom = 57.0417,
left = -135.3767,
right = -135.2977,
image = 'Sitka, Alaska.png'
}
