Module:Location map/data/United Kingdom Leicester

From imedwiki
Jump to navigation Jump to search


Location map of Leicester
name Leicester
border
coordinates
52.7
-1.22 ←↕→ -1.04
52.57
map center 52°38′06″N 1°07′48″W / 52.635°N 1.13°W / 52.635; -1.13
image Leicester UK ward map 2010 (blank).svg
Leicester UK ward map 2010 (blank).svg


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

Map definition

  • name = Leicester
    Name used in the default map caption
  • bottom = 52.57
    Latitude at bottom edge of map, in decimal degrees
  • left = -1.22
    Longitude at left edge of map, in decimal degrees
  • right = -1.04
    Longitude at right edge of map, in decimal degrees

Precision

Longitude: from West to East this map definition covers 0.18 degrees.

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

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

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


See also

Location map templates

Creating new map definitions


return {
	name = 'Leicester',
	top = 52.70,
	bottom = 52.57,
	left = -1.22,
	right = -1.04,
	image = 'Leicester UK ward map 2010 (blank).svg'
}