Module:Location map/data/Malaysia Perak

From imedwiki
Jump to navigation Jump to search


Location map of Perak
name Perak
border
coordinates
5.9
100.175 ←↕→ 101.78
3.67
map center 4°47′06″N 100°58′39″E / 4.785°N 100.9775°E / 4.785; 100.9775
image Perak location map.svg
Perak location map.svg


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

Map definition

  • name = Perak
    Name used in the default map caption
  • bottom = 3.67
    Latitude at bottom edge of map, in decimal degrees
  • left = 100.175
    Longitude at left edge of map, in decimal degrees
  • right = 101.78
    Longitude at right edge of map, in decimal degrees

Precision

Longitude: from West to East this map definition covers 1.605 degrees.

  • At an image width of 200 pixels, that is 0.008 degrees per pixel.
  • At an image width of 1000 pixels, that is 0.0016 degrees per pixel.

Latitude: from North to South this map definition covers 2.23 degrees.

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


See also

Location map templates

Creating new map definitions


return {
	name = 'Perak',
	top = 5.9,
	bottom = 3.67,
	left = 100.175,
	right = 101.78,
	image = 'Perak location map.svg',
}