Module:Location map/data/Donbas

< Module:Location map
Revision as of 00:50, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

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

Map definition

  • name = Donbas
    Name used in the default map caption
  • bottom = 46.25
    Latitude at bottom edge of map, in decimal degrees
  • left = 36.4998422899
    Longitude at left edge of map, in decimal degrees
  • right = 40.2798426037
    Longitude at right edge of map, in decimal degrees

Precision

Longitude: from West to East this map definition covers 3.78 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Template:Location map

{{Location map | Donbas
| width   = 200
| lat_deg = 48
| lon_deg = 37.8
| label   = Donetsk
}}

Template:Clear

Location map many, using relief map (image1)

Template:Location map many

{{Location map many | Donbas
| relief   = yes
| width    = 200
| caption  = Two locations in Donbas
| lat1_deg = 48
| lon1_deg = 37.8
| label1   = Donetsk
| lat2_deg = 51.22
| lon2_deg = 4.40
| label2   = Antwerp
}}

Template:Clear

Template:Clear

See also

Location map templates

Creating new map definitions


return {
	name = 'Donbas',
	top = 50.1845263456,
	bottom = 46.25,
	left = 36.4998422899,
	right = 40.2798426037,
	image = 'DonbasBaseMap.jpg',
}