Module:Location map/data/Beijing
< Module:Location map
Jump to navigation
Jump to search
Revision as of 15:03, 5 December 2016 by blackwiki>JohnBlackburne (Create a new location map for Beijing, based on the one at zh.wp)
| name | Beijing | |||
|---|---|---|---|---|
| border coordinates | ||||
| 40.0295 | ||||
| 116.2062 | ←↕→ | 116.5825 | ||
| 39.798 | ||||
| map center | Lua error: callParserFunction: function "#coordinates" was not found. | |||
| image | Beijing_location_map.png
| |||
| ||||
Module:Location map/data/Beijing is a location map definition used to overlay markers and labels on an equirectangular projection map of Beijing. 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 "Beijing":
{{Location map | Beijing | ...}}{{Location map many | Beijing | ...}}{{Location map+ | Beijing | ...}}{{Location map~ | Beijing | ...}}
Map definition
name = Beijing- Name used in the default map caption
image = Beijing_location_map.png- The default map image, without "Image:" or "File:"
top = 40.0295- Latitude at top edge of map, in decimal degrees
bottom = 39.798- Latitude at bottom edge of map, in decimal degrees
left = 116.2062- Longitude at left edge of map, in decimal degrees
right = 116.5825- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 0.3763 degrees.
- At an image width of 200 pixels, that is 0.0019 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.2315 degrees.
- At an image height of 200 pixels, that is 0.0012 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0002 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 = 'Beijing',
top = 40.0295,
bottom = 39.7980,
left = 116.2062,
right = 116.5825,
image = 'Beijing_location_map.png'
}
