Module:Location map/data/Denmark/doc

From blackwiki
< Module:Location map‎ | data/Denmark
Revision as of 20:44, 9 March 2018 by blackwiki>Frietjes
Jump to navigation Jump to search

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


Location map of Denmark
name Denmark
border
coordinates
57.9
7.8 ←↕→ 15.4
54.3
map center Lua error: callParserFunction: function "#coordinates" was not found.
image Denmark adm location map.svg
400x400px
image1 Denmark physical map.svg
400x400px

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

Map definition

  • name = Denmark
    Name used in the default map caption
  • bottom = 54.3
    Latitude at bottom edge of map, in decimal degrees
  • left = 7.8
    Longitude at left edge of map, in decimal degrees
  • right = 15.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 7.6 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Copenhagen (Denmark)
{{Location map | Denmark
| width   = 250
| lat_deg = 55.676 
| lon_deg = 12.568
| label   = Copenhagen
}}

Location map many, using relief map (image1)

{{Location map many | Denmark
| relief   = yes
| width    = 250
| caption  = Two locations in Denmark
| lat1_deg = 55.676 
| lon1_deg = 12.568
| label1   = Copenhagen
| lat2_deg = 57.717
| lon2_deg = 10.583
| label2   = Skagen
}}

Location map+, using AlternativeMap



See also

* Template:Location map DenmarkCIAx, a different map image with different edge coordinates

Location map templates

* Template:Location map, to display one mark and label using latitude and longitude * Template:Location map many, to display up to nine marks and labels * Template:Location map+, to display an unlimited number of marks and labels

Creating new map definitions

* Template:Location map/Creating a new map definition