Module:Location map/data/Wales Swansea/doc

From HandWiki
< Module:Location map‎ | data/Wales Swansea
Revision as of 09:16, 15 March 2018 by imported>Frietjes
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Location map/data/Wales Swansea

Location map of Swansea
name Swansea
border
coordinates
51.8
-4.35 ←↕→ -3.83
51.5
map center [ ⚑ ] 51°39′N 4°05′W / 51.65°N 4.09°W / 51.65; -4.09
image Swansea UK location map.svg
Swansea UK location map.svg
image1 Swansea UK relief location map.jpg
Swansea UK relief location map.jpg


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

Map definition

  • name = Swansea
    Name used in the default map caption
  • bottom = 51.5
    Latitude at bottom edge of map, in decimal degrees
  • left = -4.35
    Longitude at left edge of map, in decimal degrees
  • right = -3.83
    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 0.52 degrees.

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

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

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


See also

Location map templates

Creating new map definitions