Difference between revisions of "Module:Location map/data/East Midlands"
Jump to navigation
Jump to search
blackwiki>Tom elm (New) |
blackwiki>Tom elm (Map with counties shown) |
||
| Line 5: | Line 5: | ||
left = -2.1, | left = -2.1, | ||
right = 0.4, | right = 0.4, | ||
| − | image = ' | + | image = 'East_Midlands_counties_2009_map.svg', |
} | } | ||
Revision as of 07:48, 21 August 2015
| name | East_Midlands | |||
|---|---|---|---|---|
| border coordinates | ||||
| 53.7 | ||||
| -2.1 | ←↕→ | 0.4 | ||
| 51.9 | ||||
| map center | Lua error: callParserFunction: function "#coordinates" was not found. | |||
| image | East_Midlands_counties_2009_map.svg
| |||
Module:Location map/data/East Midlands is a location map definition used to overlay markers and labels on an equirectangular projection map of East_Midlands. 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 "East Midlands":
{{Location map | East Midlands | ...}}{{Location map many | East Midlands | ...}}{{Location map+ | East Midlands | ...}}{{Location map~ | East Midlands | ...}}
Map definition
name = East_Midlands- Name used in the default map caption
image = East_Midlands_counties_2009_map.svg- The default map image, without "Image:" or "File:"
top = 53.7- Latitude at top edge of map, in decimal degrees
bottom = 51.9- Latitude at bottom edge of map, in decimal degrees
left = -2.1- Longitude at left edge of map, in decimal degrees
right = 0.4- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 2.5 degrees.
- At an image width of 200 pixels, that is 0.0125 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0025 degrees per pixel.
Latitude: from North to South this map definition covers 1.8 degrees.
- At an image height of 200 pixels, that is 0.009 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0018 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 = 'East_Midlands',
top = 53.7,
bottom = 51.9,
left = -2.1,
right = 0.4,
image = 'East_Midlands_counties_2009_map.svg',
}