Module:Location map/data/Lesser Antilles/doc

MyWikiBiz, Author Your Legacy — Wednesday November 27, 2024
< Module:Location map‎ | data/Lesser Antilles
Revision as of 01:54, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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

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

File:CaribbeanIslandGroups.png
Major island groups of the Caribbean: the Bahamas (red), Greater Antilles (yellow), and Lesser Antilles (green).

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

Map definition

  • name = Lesser Antilles
    Name used in the default map caption
  • bottom = 9.7
    Latitude at bottom edge of map, in decimal degrees
  • left = -70.5
    Longitude at left edge of map, in decimal degrees
  • right = -59.1
    Longitude at right edge of map, in decimal degrees

Alternative map

The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. The map displayed as image1 can be used with the relief or AlternativeMap parameters. Examples may be found below or in the following:

Precision

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

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

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

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

Examples using location map templates

Location map, using default map (image)

Template:Location map

{{Location map | Lesser Antilles
| width   = 300
| lat_deg = 13.17
| lon_deg = -59.55
| label   = Barbados
}}

Template:Clear

Location map many, using relief map (image1)

Template:Location map many

{{Location map many | Lesser Antilles
| relief   = yes
| width    = 300
| caption  = Two locations in Lesser Antilles
| lat1_deg = 13.17
| lon1_deg = -59.55
| label1   = Barbados
| lat2_deg = 12.05
| lon2_deg = -61.75
| label2   = Grenada
}}

Template:Clear

Location map+, using AlternativeMap

Template:Location map+

{{Location map+ | Lesser Antilles
| AlternativeMap = Relief map of Lesser Antilles.png
| width   = 300
| caption = Two locations in Lesser Antilles
| places  =
  {{Location map~ | Lesser Antilles
  | lat_deg  = 13.17
  | lon_deg  = -59.55
  | label    = Barbados
  | mark     = Cercle_rouge_100%.svg
  | marksize = 16
  }}
  {{Location map~ | Lesser Antilles
  | lat_deg  = 12.05
  | lon_deg  = -61.75
  | label    = Grenada
  | mark     = Cercle_rouge_100%.svg
  | marksize = 16
  }}
}}

Template:Clear

See also

Sovereign states
Non-sovereign territories

Location map templates

Creating new map definitions