Jump to content

Module:Location map/data/UK Scotland/doc

විකිපීඩියා වෙතින්


Location map of Scotland
name Scotland
border
coordinates
61
-8.8 ←↕→ -0.4
54.5
map center 57°45′N 4°36′W / 57.75°N 4.6°W / 57.75; -4.6
image Scotland location map.svg
image1 Scotland relief location map.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 map defined as image1 (Scotland relief location map.jpg) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. The use of these two parameters is shown in the examples below. Additional examples can be found at:

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)

Edinburgh is located in Scotland
Edinburgh
Edinburgh
Edinburgh (Scotland)
{{Location map | UK Scotland
| width   = 200
| lat_deg = 55.953
| lon_deg = -3.189
| label   = Edinburgh
}}

Location map many, using relief parameter (image1)

Location map/data/UK Scotland/doc is located in Scotland
Edinburgh
Edinburgh
Kirkwall
Kirkwall
Two locations in Scotland
{{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
}}

Location map+, using AlternativeMap

Location map/data/UK Scotland/doc is located in Scotland
Edinburgh
Edinburgh
Kirkwall
Kirkwall
Two locations in Scotland
{{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
  }}
}}

See also

Location map templates
Infobox templates incorporating (passing values to) the Location map template
List
"https://si.wikipedia.org/w/index.php?title=Module:Location_map/data/UK_Scotland/doc&oldid=562288" වෙතින් සම්ප්‍රවේශනය කෙරිණි