Module:Location map/data/United Kingdom Cambridgeshire

From HandWiki
< Module:Location map
Revision as of 07:46, 8 March 2018 by imported>Frietjes (Frietjes moved page Module:Location map/data/Location map/data/United Kingdom Cambridgeshire to Module:Location map/data/United Kingdom Cambridgeshire without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Location map of Cambridgeshire
name Cambridgeshire
border
coordinates
52.75
-0.53 ←↕→ 0.55
51.99
map center [ ⚑ ] 52°22′N 0°01′E / 52.37°N 0.01°E / 52.37; 0.01
image Cambridgeshire UK location map.svg
Cambridgeshire UK location map.svg
image1 Cambridgeshire UK relief location map.jpg
Cambridgeshire UK relief location map.jpg


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

Map definition

  • name = Cambridgeshire
    Name used in the default map caption
  • bottom = 51.99
    Latitude at bottom edge of map, in decimal degrees
  • left = -0.53
    Longitude at left edge of map, in decimal degrees
  • right = 0.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.08 degrees.

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

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

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


See also

Location map templates

Creating new map definitions


return {
	name = 'Cambridgeshire',
	top = 52.75,
	bottom = 51.99,
	left = -0.53,
	right = 0.55,
	image = 'Cambridgeshire UK location map.svg',
	image1 = 'Cambridgeshire UK relief location map.jpg'
}