Module:Location map/data/Singapore
From HandWiki
< Module:Location map
Revision as of 23:43, 13 June 2020 by imported>Seloloving (more accurate)
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 | |||
image | 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":
{{Location map|Singapore |...}}
{{Location map many|Singapore |...}}
{{Location map+|Singapore |...}}
{{Location map~|Singapore |...}}
Map definition
name = Singapore
- Name used in the default map caption
image = Singapore_location_map_(main_island).svg
- The default map image, without "Image:" or "File:"
top = 1.493
- Latitude at top edge of map, in decimal degrees
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
- Template:Location map, to display one mark and label using latitude and longitude
- Template:Location map many, to display up to nine marks and labels
- Template:Location map+, to display an unlimited number of marks and labels
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' }