Module:Location map/data/Bahamas/doc

From blackwiki
< Module:Location map‎ | data/Bahamas
Revision as of 13:30, 2 April 2013 by blackwiki>Zyxw (add category, update comments)
Jump to navigation Jump to search

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

File:Bf-map.png
Map of the Bahamas

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

Map definition

Alternative map

The map defined as image1 (Template:Location map/data/Bahamas) 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/Bahamas) 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)

{{Location map | Bahamas
| width   = 250
| lat_deg = 25.06
| lon_deg = -77.345
| label   = Nassau
}}

Location map many, using relief map (image1)

Three locations in the Bahamas
{{Location map many | Bahamas
| relief   = yes
| width    = 250
| caption  = Three locations in the Bahamas
| lat1_deg = 25.06
| lon1_deg = -77.345
| label1   = Nassau
| lat2_deg = 26.528
| lon2_deg = -78.697
| label2   = Freeport
| lat3_deg = 20.95
| lon3_deg = -73.667
| label3   = Matthew Town
| pos3     = top
}}

Location map+, using AlternativeMap

Three locations in the Bahamas
{{Location map+ | Bahamas
| AlternativeMap = Relief map of Bahamas.png
| width   = 250
| caption = Three locations in the Bahamas
| places  =
  {{Location map~ | Bahamas
  | lat_deg = 25.06
  | lon_deg = -77.345
  | label   = Nassau
  }}
  {{Location map~ | Bahamas
  | lat_deg = 26.528
  | lon_deg = -78.697
  | label   = Freeport
  }}
  {{Location map~ | Bahamas
  | lat_deg  = 20.95
  | lon_deg  = -73.667
  | label    = Matthew Town
  | position = top
  }}
}}

See also

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