Module:Location map/data/Malaysia Johor

From imedwiki
Jump to navigation Jump to search


Location map of Johor
name Johor
border
coordinates
3.23997
102.365112 ←↕→ 104.477093
1.212533
map center 2°13′35″N 103°25′16″E / 2.2262515°N 103.4211025°E / 2.2262515; 103.4211025
image Johor location map.svg
Johor location map.svg


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

Map definition

  • name = Johor
    Name used in the default map caption
  • bottom = 1.212533
    Latitude at bottom edge of map, in decimal degrees
  • left = 102.365112
    Longitude at left edge of map, in decimal degrees
  • right = 104.477093
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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


See also

Location map templates

Creating new map definitions


return {
	name = 'Johor',
	top = 3.239970,
	bottom = 1.212533,
	left = 102.365112,
	right = 104.477093,
	image = 'Johor location map.svg',
}