Module:Location map/data/Beijing

From blackwiki
< Module:Location map
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)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Location map of Beijing
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
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.

Usage

These definitions are used by the following templates when invoked with parameter "Beijing":

Map definition

  • name = Beijing
    Name used in the default map caption
  • 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

Creating new map definitions


return {
	name = 'Beijing',
	top    = 40.0295,
	bottom = 39.7980,
	left   = 116.2062,
	right  = 116.5825,
	image = 'Beijing_location_map.png'
}