Module:Location map/data/Brunei/doc

From HandWiki
< Module:Location map‎ | data/Brunei
Revision as of 14:16, 14 March 2018 by imported>Frietjes
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Location map/data/Brunei


Location map of Brunei
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 / 4.55; 114.7
image Brunei location map.svg
Brunei location map.svg
image1 Brunei location map Topographic.png
Brunei location map Topographic.png
Map of Brunei

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":

Map definition

  • name = Brunei
    Name used in the default map caption
  • 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:

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)

Bandar Seri Begawan is located in Brunei
Bandar Seri Begawan
Bandar Seri Begawan
Bandar Seri Begawan (Brunei)
{{Location map | Brunei
| width   = 250
| lat_deg = 4.89
| lon_deg = 114.94
| label   = Bandar Seri Begawan
}}

Location map many, using relief map (image1)

Location map/data/Brunei/doc is located in Brunei
Bandar Seri Begawan
Bandar Seri Begawan
Kuala Belait
Kuala Belait
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

Location map/data/Brunei/doc is located in Brunei
Bandar Seri Begawan
Bandar Seri Begawan
Kuala Belait
Kuala Belait
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

Creating new map definitions