Module:Location map/data/Black Sea

From blackwiki
< Module:Location map
Revision as of 17:21, 8 February 2016 by blackwiki>Momijiro
Jump to navigation Jump to search
Location map of Black Sea
name Black Sea
border
coordinates
49.955
25.033 ←↕→ 44.886
40.064
map center Lua error: callParserFunction: function "#coordinates" was not found.
image BlackSea.svg
400x400px
image1 BlackSea.svg
400x400px

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

Map definition

  • name = Black Sea
    Name used in the default map caption
  • image = BlackSea.svg
    The default map image, without "Image:" or "File:"
  • image1 = BlackSea.svg
    An alternative map image, usually a relief map, which can be displayed via the relief or AlternativeMap parameters
  • top = 49.955
    Latitude at top edge of map, in decimal degrees
  • bottom = 40.064
    Latitude at bottom edge of map, in decimal degrees
  • left = 25.033
    Longitude at left edge of map, in decimal degrees
  • right = 44.886
    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 19.853 degrees.

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

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

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

Examples using location map templates

Odessa (Black Sea)
{{Location map | Black Sea
| width   = 500
| lat_deg = 46.470
| lon_deg = 30.723
| label   = Odessa
}}

Location map many, using relief map (image1)

Two locations around Black Sea
{{Location map many | Black Sea
| relief   = yes
| width    = 500
| caption  = Two locations around Black Sea
| lat1_deg = 46.470
| lon1_deg = 30.723
| label1   = Odessa
| lat2_deg = 41.000
| lon2_deg = 28.979
| label2   = Istanbul
}}

Location map+, using AlternativeMap

Two locations around Black Sea
{{Location map+ | Black Sea
| AlternativeMap = BlackSea.svg
| width   = 300
| caption = Two locations around Black Sea
| places  =
  {{Location map~ | Black Sea
  | lat_deg = 46.470
  | lon_deg = 30.723
  | label   = Odessa
  }}
  {{Location map~ | Black Sea
  | lat_deg = 41.000
  | lon_deg = 28.979
  | label   = Istanbul
  }}
}}

See also

Location map templates

Creating new map definitions



return {
	name = 'Black Sea',
	top = 49.955,
	bottom = 40.064,
	left = 25.033,
	right =  44.886,
	image = 'BlackSea.svg',
	image1 = 'BlackSea.svg'
}