Module:Location map/data/Belarus

MyWikiBiz, Author Your Legacy — Thursday December 26, 2024
Jump to navigationJump to search

Lua error: expandTemplate: template "coord" does not exist.

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)

Template:Location map

{{Location map | Belarus
| width   = 200
| lat_deg = 53.90
| lon_deg = 27.57
| label   = Minsk
}}

Template:Clear

Location map many, using relief map (image1)

Template:Location map many

{{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
}}

Template:Clear

Location map+, using AlternativeMap

Template:Location map+

{{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
  }}
}}

Template:Clear

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'
}