Module:Location map/data/Belarus

From HandWiki
< Module:Location map
Revision as of 14:04, 14 March 2018 by imported>Frietjes (created from Template:Location map Belarus, edit history will be saved in Module talk:Location map/data/Belarus/doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Location map of Belarus
name Belarus
border
coordinates
56.4
22.9 ←↕→ 33
51.1
map center [ ⚑ ] 53°45′N 27°57′E / 53.75°N 27.95°E / 53.75; 27.95
image Belarus adm location map.svg
Belarus adm location map.svg
image1 Relief Map of Belarus.png
Relief Map of Belarus.png
Map of Belarus

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

Map definition

  • name = Belarus
    Name used in the default map caption
  • bottom = 51.1
    Latitude at bottom edge of map, in decimal degrees
  • left = 22.9
    Longitude at left edge of map, in decimal degrees
  • right = 33
    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 10.1 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Minsk is located in Belarus
Minsk
Minsk
Minsk (Belarus)
{{Location map | Belarus
| width   = 200
| lat_deg = 53.90
| lon_deg = 27.57
| label   = Minsk
}}

Location map many, using relief map (image1)

Location map/data/Belarus is located in Belarus
Minsk
Minsk
Brest
Brest
Two locations in Belarus
{{Location map many | Belarus
| relief   = yes
| width    = 200
| caption  = Two locations in Belarus
| lat1_deg = 53.90
| lon1_deg = 27.57
| label1   = Minsk
| lat2_deg = 52.13
| lon2_deg = 23.67
| label2   = Brest
}}

Location map+, using AlternativeMap

Location map/data/Belarus is located in Belarus
Minsk
Minsk
Brest
Brest
Two locations in Belarus
{{Location map+ | Belarus
| AlternativeMap = Relief Map of Belarus.png
| width   = 200
| caption = Two locations in Belarus
| places  =
  {{Location map~ | Belarus
  | lat_deg = 53.90
  | lon_deg = 27.57
  | label   = Minsk
  }}
  {{Location map~ | Belarus
  | lat_deg = 52.13
  | lon_deg = 23.67
  | label   = Brest
  }}
}}

See also

Location map templates

Creating new map definitions



return {
	name = 'Belarus',
	top = 56.4,
	bottom = 51.1,
	left = 22.9,
	right = 33.0,
	image = 'Belarus adm location map.svg',
	image1 = 'Relief Map of Belarus.png'
}