Difference between revisions of "Module:Location map/data/Dominica/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
(add category moved from main template)
blackwiki>Frietjes
(No difference)

Revision as of 13:06, 21 March 2018

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

Map definition

Alternative map

The map defined as image1 (Template:Location map/data/Dominica) 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/Dominica) 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 | Dominica
| width   = 250
| lat_deg = 15.301 
| lon_deg = -61.388
| label   = Roseau
}}

Location map many, using relief map (image1)

Three locations in Dominica
{{Location map many | Dominica
| relief   = yes
| width    = 250
| caption  = Three locations in Dominica
| lat1_deg = 15.301 
| lon1_deg = -61.388
| label1   = Roseau
| lat2_deg = 15.568
| lon2_deg = -61.456
| label2   = Portsmouth
| lat3_deg = 15.239
| lon3_deg = -61.314
| label3   = Grand Bay (Berekua)
}}

Location map+, using AlternativeMap

Three locations in Dominica
{{Location map+ | Dominica
| AlternativeMap = Dominique.png
| width   = 250
| caption = Three locations in Dominica
| places  =
  {{Location map~ | Dominica
  | lat_deg = 15.301 
  | lon_deg = -61.388
  | label   = Roseau
  }}
  {{Location map~ | Dominica
  | lat_deg = 15.568
  | lon_deg = -61.456
  | label   = Portsmouth
  }}
  {{Location map~ | Dominica
  | lat_deg = 15.239
  | lon_deg = -61.314
  | label   = Grand Bay (Berekua)
  }}
}}

See also

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