Difference between revisions of "Module:Location map/data/Balkans"

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
(created from Template:Location map Balkans, earlier edit history will be saved in Module:Location map/data/Balkans/doc)
 
blackwiki>Frietjes
Line 1: Line 1:
 
return {
 
return {
 
name = 'Balkans',
 
name = 'Balkans',
top = 47.4,
+
top = 46.3,
bottom = 36.2,
+
bottom = 41.7,
left = 12.4,
+
left = 18.7,
right = 30.4,
+
right = 23.2,
 
image = 'Balkan topo blank.jpg'
 
image = 'Balkan topo blank.jpg'
 
}
 
}

Revision as of 14:15, 19 December 2018


Location map of Balkans
name Balkans
border
coordinates
46.3
18.7 ←↕→ 23.2
41.7
map center Lua error: callParserFunction: function "#coordinates" was not found.
image Balkan topo blank.jpg
Balkan topo blank.jpg


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

Map definition

  • name = Balkans
    Name used in the default map caption
  • bottom = 41.7
    Latitude at bottom edge of map, in decimal degrees
  • left = 18.7
    Longitude at left edge of map, in decimal degrees
  • right = 23.2
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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

Examples using location map templates

Lua error in Module:Location_map at line 399: Malformed coordinates value.

See also

Location map templates

Creating new map definitions


return {
	name = 'Balkans',
	top = 46.3,
	bottom = 41.7,
	left = 18.7,
	right = 23.2,
	image = 'Balkan topo blank.jpg'
}