Jump to content

Module:Location map/data/Alps/doc

From Wikipedia, the free encyclopedia


Location map of Alps
name Alps
border
coordinates
48.5
4.5 ←↕→ 17
42.75
map center 45°37′30″N 10°45′00″E / 45.625°N 10.75°E / 45.625; 10.75
image Alps location map.png
Map of the Alps

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

Map definition

  • name = Alps
    Name used in the default map caption
  • bottom = 42.75
    Latitude at bottom edge of map, in decimal degrees
  • left = 4.5
    Longitude at left edge of map, in decimal degrees
  • right = 17
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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

Examples using location map templates

Location map, using default map (image)

Mont Blanc is located in Alps
Mont Blanc
Mont Blanc
Mont Blanc (Alps)
{{Location map | Alps
| width   = 300
| lat_deg = 45.83
| lon_deg = 6.87
| label   = Mont Blanc
}}

Location map many

Location map/data/Alps/doc is located in Alps
Mont Blanc
Mont Blanc
Monte Rosa
Monte Rosa
Finsteraarhorn
Finsteraarhorn
Three mountains in the Alps
{{Location map many | Alps
| width    = 300
| caption  = Three mountains in the Alps
| lat1_deg = 45.83
| lon1_deg = 6.87
| label1   = Mont Blanc
| pos1     = bottom
| lat2_deg = 45.94
| lon2_deg = 7.87
| label2   = Monte Rosa
| lat3_deg = 46.54
| lon3_deg = 8.13
| label3   = Finsteraarhorn
}}

Location map+

Location map/data/Alps/doc is located in Alps
Mont Blanc
Mont Blanc
Monte Rosa
Monte Rosa
Finsteraarhorn
Finsteraarhorn
Three mountains in the Alps
{{Location map+ | Alps
| width   = 300
| caption = Three mountains in the Alps
| places  =
  {{Location map~ | Alps
  | lat_deg  = 45.83
  | lon_deg  = 6.87
  | label    = Mont Blanc
  | position = bottom
  }}
  {{Location map~ | Alps
  | lat_deg  = 45.94
  | lon_deg  = 7.87
  | label    = Monte Rosa
  }}
  {{Location map~ | Alps
  | lat_deg  = 46.54
  | lon_deg  = 8.13
  | label    = Finsteraarhorn
  }}
}}

See also

Location map templates

Creating new map definitions