Module:Location map/data/Brunei
From HandWiki
< Module:Location map
Revision as of 14:19, 14 March 2018 by imported>Frietjes (created from Template:Location map Brunei, edit history will be saved in Module talk:Location map/data/Brunei/doc)
name | Brunei | |||
---|---|---|---|---|
border coordinates | ||||
5.2 | ||||
113.9 | ←↕→ | 115.5 | ||
3.9 | ||||
map center | [ ⚑ ] 4°33′N 114°42′E / 4.55°N 114.7°E | |||
image | Brunei location map.svg
| |||
![]() | ||||
image1 | Brunei location map Topographic.png
| |||
![]() |
Module:Location map/data/Brunei is a location map definition used to overlay markers and labels on an equirectangular projection map of Brunei. 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 "Brunei":
{{Location map|Brunei |...}}
{{Location map many|Brunei |...}}
{{Location map+|Brunei |...}}
{{Location map~|Brunei |...}}
Map definition
name = Brunei
- Name used in the default map caption
image = Brunei location map.svg
- The default map image, without "Image:" or "File:"
image1 = Brunei location map Topographic.png
- An alternative map image, usually a relief map, which can be displayed via the relief or AlternativeMap parameters
top = 5.2
- Latitude at top edge of map, in decimal degrees
bottom = 3.9
- Latitude at bottom edge of map, in decimal degrees
left = 113.9
- Longitude at left edge of map, in decimal degrees
right = 115.5
- Longitude at right edge of map, in decimal degrees
Alternative map
The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. The map displayed as image1 can be used with the relief or AlternativeMap parameters. Examples may be found below or in the following:
- Template:Location map#Relief parameter
- Template:Location map+/relief
- Template:Location map#AlternativeMap parameter
- Template:Location map+/AlternativeMap
Precision
Longitude: from West to East this map definition covers 1.6 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 1.3 degrees.
- At an image height of 200 pixels, that is 0.0065 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0013 degrees per pixel.
Examples using location map templates
Location map, using default map (image)
{{Location map | Brunei | width = 250 | lat_deg = 4.89 | lon_deg = 114.94 | label = Bandar Seri Begawan }}
Location map many, using relief map (image1)
Two locations in Brunei
{{Location map many | Brunei | relief = yes | width = 250 | caption = Two locations in Brunei | lat1_deg = 4.89 | lon1_deg = 114.94 | label1 = Bandar Seri Begawan | lat2_deg = 4.58 | lon2_deg = 114.18 | label2 = Kuala Belait }}
Location map+, using AlternativeMap
Two locations in Brunei
{{Location map+ | Brunei | AlternativeMap = Brunei location map Topographic.png | width = 250 | caption = Two locations in Brunei | places = {{Location map~ | Brunei | lat_deg = 4.89 | lon_deg = 114.94 | label = Bandar Seri Begawan }} {{Location map~ | Brunei | lat_deg = 4.58 | lon_deg = 114.18 | label = Kuala Belait }} }}
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 = 'Brunei', top = 5.2, bottom = 3.9, left = 113.9, right = 115.5, image = 'Brunei location map.svg', image1 = 'Brunei location map Topographic.png' }