Module:Location map/data/USA Alaska Fairbanks
Jump to navigation
Jump to search
| name | Fairbanks | |||
|---|---|---|---|---|
| border coordinates | ||||
| 64.8895 | ||||
| -147.9288 | ←↕→ | -147.5205 | ||
| 64.7727 | ||||
| map center | Lua error: callParserFunction: function "#coordinates" was not found. | |||
| image | Fairbanks, Alaska.png
| |||
| 400x400px | ||||
File:Fairbanks, Alaska.png
Map of Fairbanks
Module:Location map/data/USA Alaska Fairbanks is a location map definition used to overlay markers and labels on an equirectangular projection map of Fairbanks. 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 Fairbanks":
{{Location map | USA Alaska Fairbanks | ...}}{{Location map many | USA Alaska Fairbanks | ...}}{{Location map+ | USA Alaska Fairbanks | ...}}{{Location map~ | USA Alaska Fairbanks | ...}}
Map definition
name = Fairbanks- Name used in the default map caption
image = Fairbanks, Alaska.png- The default map image, without "Image:" or "File:"
top = 64.8895- Latitude at top edge of map, in decimal degrees
bottom = 64.7727- Latitude at bottom edge of map, in decimal degrees
left = -147.9288- Longitude at left edge of map, in decimal degrees
right = -147.5205- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 0.4083 degrees.
- At an image width of 200 pixels, that is 0.002 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0004 degrees per pixel.
Latitude: from North to South this map definition covers 0.1168 degrees.
- At an image height of 200 pixels, that is 0.0006 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0001 degrees per pixel.
Examples using location map templates
Location map, using default map (image)
Old City Hall is located in Fairbanks
Old City Hall
Old City Hall (Fairbanks)
{{Location map | USA Alaska Fairbanks
| width = 300
| lat_deg = 64.84179
| lon_deg = -147.72094
| label = Old City Hall
| label_size = 60
}}
Location map many, using defaul map (image)
{{Location map many | USA Alaska Fairbanks
| width = 300
| caption = Two locations in Fairbanks
| lat1_deg = 64.84179
| lon1_deg = -147.72094
| label1 = Old City Hall
| label1_size = 60
| lat2_deg = 64.831389
| lon2_deg = -147.884722
| label2 = Chena Pump House
| label2_size = 60
}}
Location map+, using AlternativeMap
{{Location map+ | USA Alaska Fairbanks
| AlternativeMap = Fairbanks, Alaska.png
| width = 300
| caption = Two locations in Fairbanks
| places =
{{Location map~ | USA Alaska Fairbanks
| lat_deg = 64.84179
| lon_deg = -147.72094
| label = Old City Hall
| label_size = 60
}}
{{Location map~ | USA Alaska Fairbanks
| lat_deg = 64.831389
| lon_deg = -147.884722
| label = Chena Pump House
| 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 = 'Fairbanks',
top = 64.8895,
bottom = 64.7727,
left = -147.9288,
right = -147.5205,
image = 'Fairbanks, Alaska.png'
}