Module:Location map/data/Switzerland/doc

This is an old revision of this page, as edited by Zyxw (talk | contribs) at 07:07, 10 February 2013 (update). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


Map of Switzerland

Template:Location map Switzerland is a ___location map definition used to overlay markers and labels on an equirectangular projection map of Switzerland. 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 "Switzerland":

Map definition

Alternative map

The map defined as image1 (Template:Location map/data/Switzerland) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. The map defined as image2 (Template:Location map/data/Switzerland) can only be displayed by using the AlternativeMap parameter. The use of these two parameters is shown in the examples below. Additional examples can be found at:

Examples using ___location map templates

Location map, using default map (image)

 
 
Bern
Bern (Switzerland)
{{Location map | Switzerland
| width   = 300
| lat_deg = 46.95
| lon_deg = 7.45
| label   = Bern
}}

Location map many, using relief map (image1)

 
 
Bern
 
Zurich
Two locations in Switzerland
{{Location map many | Switzerland
| relief   = yes
| width    = 300
| caption  = Two locations in Switzerland
| lat1_deg = 46.95
| lon1_deg = 7.45
| label1   = Bern
| lat2_deg = 47.37
| lon2_deg = 8.55
| label2   = Zurich
}}

Location map+, using AlternativeMap

 
 
Bern
 
Zurich
Two locations in Switzerland
{{Location map+ | Switzerland
| AlternativeMap = Switzerland (no subdivisions) ___location map.svg
| width   = 300
| caption = Two locations in Switzerland
| places  =
  {{Location map~ | Switzerland
  | lat_deg = 46.95
  | lon_deg = 7.45
  | label   = Bern
  }}
  {{Location map~ | Switzerland
  | lat_deg = 47.37
  | lon_deg = 8.55
  | label   = Zurich
  }}
}}

See also

Location map templates
Infobox templates incorporating (passing values to) the Location map template
List