Module:Location map/data/Scotland Moray

From imedwiki
Jump to navigation Jump to search


Location map of Moray
name Moray
border
coordinates
57.75
-3.8 ←↕→ -2.55
57.05
map center 57°24′00″N 3°10′30″W / 57.4°N 3.175°W / 57.4; -3.175
image Moray UK location map.svg
Moray UK location map.svg
image1 Moray UK relief location map.jpg
Moray UK relief location map.jpg


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

Map definition

  • name = Moray
    Name used in the default map caption
  • bottom = 57.05
    Latitude at bottom edge of map, in decimal degrees
  • left = -3.8
    Longitude at left edge of map, in decimal degrees
  • right = -2.55
    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 1.25 degrees.

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

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

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


See also

Location map templates

Creating new map definitions


return {
	name = 'Moray',
	top = 57.75,
	bottom = 57.05,
	left = -3.8,
	right = -2.55,
	image = 'Moray UK location map.svg',
	image1 = 'Moray UK relief location map.jpg'
}