Difference between revisions of "Module:Location map/data/Malaysia Penang"

From blackwiki
Jump to navigation Jump to search
blackwiki>*angys*
(// Edit via Wikiplus)
blackwiki>Vnonymous
(Reverted to revision 768328830 by Vnonymous: Png version has thinner boundaries. Until the boundary issue has been rectified, the png version will remain in use for the time being. (TW))
Line 5: Line 5:
 
left = 100.1720,
 
left = 100.1720,
 
right = 100.5510,
 
right = 100.5510,
image = 'Penang location map.svg',
+
image = 'Penang location map.png',
 
}
 
}

Revision as of 00:50, 21 December 2017


Location map of Penang
name Penang
border
coordinates
5.5859
100.172 ←↕→ 100.551
5.1224
map center Lua error: callParserFunction: function "#coordinates" was not found.
image Penang location map.png
Penang location map.png


Module:Location map/data/Malaysia Penang is a location map definition used to overlay markers and labels on an equirectangular projection map of Penang, Malaysia. 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 "Malaysia Penang":

Map definition

  • name = Penang
    Name used in the default map caption
  • bottom = 5.1224
    Latitude at bottom edge of map, in decimal degrees
  • left = 100.172
    Longitude at left edge of map, in decimal degrees
  • right = 100.551
    Longitude at right edge of map, in decimal degrees

Precision

Longitude: from West to East this map definition covers 0.379 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.4635 degrees.

  • At an image height of 200 pixels, that is 0.0023 degrees per pixel.
  • At an image height of 1000 pixels, that is 0.0005 degrees per pixel.


See also

Location map templates

Creating new map definitions


return {
	name = 'Penang',
	top = 5.5859,
	bottom = 5.1224,
	left = 100.1720,
	right = 100.5510,
	image = 'Penang location map.png',
}