Difference between revisions of "Module:Location map/data/USA Arizona inset"
blackwiki>Frietjes (create a location map for File:Arizona Locator Map with Lower-Left Inset.png, File:Arizona Locator Map with national inset.png, File:Arizona Locator Map.PNG (should be remade as svg)) |
blackwiki>Frietjes |
||
| Line 6: | Line 6: | ||
bottom = 31.260578637957700, | bottom = 31.260578637957700, | ||
image = 'Arizona Locator Map with Lower-Left Inset.png', | image = 'Arizona Locator Map with Lower-Left Inset.png', | ||
| − | + | image2 = 'Arizona Locator Map with national inset.png', | |
| − | + | image3 = 'Arizona Locator Map.PNG' | |
} | } | ||
Revision as of 16:48, 22 February 2018
| name | Arizona | |||
|---|---|---|---|---|
| border coordinates | ||||
| 37.057686212035 | ||||
| -114.88258585892 | ←↕→ | -108.97752960238 | ||
| 31.260578637958 | ||||
| map center | Lua error: callParserFunction: function "#coordinates" was not found. | |||
| image | Arizona Locator Map with Lower-Left Inset.png
| |||
| ||||
| image2 | Arizona Locator Map with national inset.png
| |||
| ||||
| image3 | Arizona Locator Map.PNG
| |||
Module:Location map/data/USA Arizona inset is a location map definition used to overlay markers and labels on an equirectangular projection map of Arizona. 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 Arizona inset":
{{Location map | USA Arizona inset | ...}}{{Location map many | USA Arizona inset | ...}}{{Location map+ | USA Arizona inset | ...}}{{Location map~ | USA Arizona inset | ...}}
Map definition
name = Arizona- Name used in the default map caption
image = Arizona Locator Map with Lower-Left Inset.png- The default map image, without "Image:" or "File:"
image2 = Arizona Locator Map with national inset.pngimage3 = Arizona Locator Map.PNG- Alternative map images which can be displayed via the AlternativeMap parameter
top = 37.057686212035- Latitude at top edge of map, in decimal degrees
bottom = 31.260578637958- Latitude at bottom edge of map, in decimal degrees
left = -114.88258585892- Longitude at left edge of map, in decimal degrees
right = -108.97752960238- Longitude at right edge of map, in decimal degrees
Alternative map
The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. The maps displayed as image2 / image3 can be used with the AlternativeMap parameter. Examples may be found below or in the following:
Precision
Longitude: from West to East this map definition covers 5.9051 degrees.
- At an image width of 200 pixels, that is 0.0295 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0059 degrees per pixel.
Latitude: from North to South this map definition covers 5.7971 degrees.
- At an image height of 200 pixels, that is 0.029 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0058 degrees per pixel.
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 = 'Arizona',
left = -114.8825858589151,
right = -108.9775296023836,
top = 37.057686212035073,
bottom = 31.260578637957700,
image = 'Arizona Locator Map with Lower-Left Inset.png',
image2 = 'Arizona Locator Map with national inset.png',
image3 = 'Arizona Locator Map.PNG'
}

