Module:Location map/data/Alps/doc

MyWikiBiz, Author Your Legacy — Tuesday November 05, 2024
Jump to navigationJump to search

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

Lua error: expandTemplate: template "coord" does not exist.

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)

Template:Location map

{{Location map | Alps
| width   = 300
| lat_deg = 45.83
| lon_deg = 6.87
| label   = Mont Blanc
}}

Template:Clear

Location map many

Template:Location map many

{{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
}}

Template:Clear

Location map+

Template:Location map+

{{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
  }}
}}

Template:Clear

See also

Location map templates

Creating new map definitions