Difference between revisions of "Module:Location map/data/USA Alaska Sitka/doc"
Jump to navigation
Jump to search
blackwiki>Frietjes m (Frietjes moved page Module:Location map/data/Sitka/doc to Module:Location map/data/USA Alaska Sitka/doc) |
blackwiki>Frietjes |
||
| Line 3: | Line 3: | ||
|examples= | |examples= | ||
=== Location map, using default map (image) === | === Location map, using default map (image) === | ||
| − | {{Location map | Sitka | + | {{Location map | USA Alaska Sitka |
| width = 300 | | width = 300 | ||
| lat_deg = 57.0507 | | lat_deg = 57.0507 | ||
| Line 11: | Line 11: | ||
}} | }} | ||
<pre style="width:30em"> | <pre style="width:30em"> | ||
| − | {{Location map | Sitka | + | {{Location map | USA Alaska Sitka |
| width = 300 | | width = 300 | ||
| lat_deg = 57.0507 | | lat_deg = 57.0507 | ||
| Line 22: | Line 22: | ||
=== Location map many, using defaul map (image) === | === Location map many, using defaul map (image) === | ||
| − | {{Location map many | Sitka | + | {{Location map many | USA Alaska Sitka |
| width = 300 | | width = 300 | ||
| caption = Two locations in Sitka | | caption = Two locations in Sitka | ||
| Line 35: | Line 35: | ||
}} | }} | ||
<pre style="width:30em"> | <pre style="width:30em"> | ||
| − | {{Location map many | Sitka | + | {{Location map many | USA Alaska Sitka |
| width = 300 | | width = 300 | ||
| caption = Two locations in Sitka | | caption = Two locations in Sitka | ||
| Line 51: | Line 51: | ||
=== Location map+, using AlternativeMap === | === Location map+, using AlternativeMap === | ||
| − | {{Location map+ | Sitka | + | {{Location map+ | USA Alaska Sitka |
| AlternativeMap = Sitka, Alaska.png | | AlternativeMap = Sitka, Alaska.png | ||
| width = 300 | | width = 300 | ||
| caption = Two locations in Sitka | | caption = Two locations in Sitka | ||
| places = | | places = | ||
| − | {{Location map~ | Sitka | + | {{Location map~ | USA Alaska Sitka |
| lat_deg = 57.0507 | | lat_deg = 57.0507 | ||
| lon_deg = -135.34099 | | lon_deg = -135.34099 | ||
| Line 62: | Line 62: | ||
| label_size = 60 | | label_size = 60 | ||
}} | }} | ||
| − | {{Location map~ | Sitka | + | {{Location map~ | USA Alaska Sitka |
| lat_deg = 57.04888 | | lat_deg = 57.04888 | ||
| lon_deg = -135.31596 | | lon_deg = -135.31596 | ||
| Line 70: | Line 70: | ||
}} | }} | ||
<pre style="width:35em"> | <pre style="width:35em"> | ||
| − | {{Location map+ | Sitka | + | {{Location map+ | USA Alaska Sitka |
| AlternativeMap = Sitka, Alaska.png | | AlternativeMap = Sitka, Alaska.png | ||
| width = 300 | | width = 300 | ||
| caption = Two locations in Sitka | | caption = Two locations in Sitka | ||
| places = | | places = | ||
| − | {{Location map~ | Sitka | + | {{Location map~ | USA Alaska Sitka |
| lat_deg = 57.0507 | | lat_deg = 57.0507 | ||
| lon_deg = -135.34099 | | lon_deg = -135.34099 | ||
| Line 81: | Line 81: | ||
| label_size = 60 | | label_size = 60 | ||
}} | }} | ||
| − | {{Location map~ | Sitka | + | {{Location map~ | USA Alaska Sitka |
| lat_deg = 57.04888 | | lat_deg = 57.04888 | ||
| lon_deg = -135.31596 | | lon_deg = -135.31596 | ||
Revision as of 13:48, 13 April 2018
| 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
