Jump to content

Module:Location map/data/Denmark/doc

From Wikipedia, the free encyclopedia


Location map of Denmark
name Denmark
border
coordinates
57.9
7.8 ←↕→ 15.4
54.3
map center 56°06′N 11°36′E / 56.1°N 11.6°E / 56.1; 11.6
image Denmark adm location map.svg
image1 Denmark physical map.svg
Map of Denmark

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 is located in Denmark
Copenhagen
Copenhagen
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/data/Denmark/doc is located in Denmark
Copenhagen
Copenhagen
Skagen
Skagen
Two locations in Denmark
{{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

Location map/data/Denmark/doc is located in Denmark
Copenhagen
Copenhagen
Skagen
Skagen
Two locations in Denmark
{{Location map+ | Denmark
| AlternativeMap = Denmark physical map.svg
| width   = 250
| caption = Two locations in Denmark
| places  =
  {{Location map~ | Denmark
  | lat_deg = 55.676
  | lon_deg = 12.568
  | label   = Copenhagen
  }}
  {{Location map~ | Denmark
  | lat_deg = 57.717
  | lon_deg = 10.583
  | label   = Skagen
  }}
}}

See also

Location map templates

Creating new map definitions