Module:Location map/data/UK Scotland

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

File:Scotland map-en.jpg
Map of Scotland

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

Map definition

  • name = Scotland
    Name used in the default map caption
  • bottom = 54.5
    Latitude at bottom edge of map, in decimal degrees
  • left = -8.8
    Longitude at left edge of map, in decimal degrees
  • right = -0.4
    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 8.4 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Template:Location map

{{Location map | UK Scotland
| width   = 200
| lat_deg = 55.953
| lon_deg = -3.189
| label   = Edinburgh
}}

Template:Clear

Location map many, using relief parameter (image1)

Template:Location map many

{{Location map many | UK Scotland
| relief   = yes
| width    = 200
| caption  = Two locations in Scotland
| lat1_deg = 55.953
| lon1_deg = -3.189
| label1   = Edinburgh
| lat2_deg = 58.981
| lon2_deg = -2.96
| label2   = Kirkwall
}}

Template:Clear

Location map+, using AlternativeMap

Template:Location map+

{{Location map+ | UK Scotland
| AlternativeMap = Scotland relief location map.jpg
| width   = 200
| caption = Two locations in Scotland
| places  =
  {{Location map~ | UK Scotland
  | lat_deg = 55.953
  | lon_deg = -3.189
  | label   = Edinburgh
  }}
  {{Location map~ | UK Scotland
  | lat_deg = 58.981
  | lon_deg = -2.96
  | label   = Kirkwall
  }}
}}

Template:Clear

Template:Clear

See also

Location map templates

Creating new map definitions


return {
	name = 'Scotland',
	top = 61,
	bottom = 54.5,
	left  = -8.8,
	right = -0.4,
	image = 'Scotland location map.svg',
	image1 = 'Scotland relief location map.jpg'
}