Module:Location map/data/Singapore

From HandWiki
< Module:Location map
Revision as of 23:43, 13 June 2020 by imported>Seloloving (more accurate)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Location map of Singapore
name Singapore
border
coordinates
1.493
103.557 ←↕→ 104.131
1.129
map center [ ⚑ ] 1°18′40″N 103°50′38″E / 1.311°N 103.844°E / 1.311; 103.844
image Singapore_location_map_(main_island).svg
Singapore location map (main island).svg


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

Map definition

  • name = Singapore
    Name used in the default map caption
  • bottom = 1.129
    Latitude at bottom edge of map, in decimal degrees
  • left = 103.557
    Longitude at left edge of map, in decimal degrees
  • right = 104.131
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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


See also

Location map templates

Creating new map definitions


return {
	name = 'Singapore',
	top = 1.493,
	bottom = 1.129,
	left = 103.557,
	right = 104.131,
	image = 'Singapore_location_map_(main_island).svg'
}