Module:Location map/data/Maldives/doc

From blackwiki
< Module:Location map‎ | data/Maldives
Revision as of 00:39, 23 March 2018 by blackwiki>Plastikspork (Plastikspork moved page Template:Location map Maldives3/doc to Module:Location map/data/Maldives/doc without leaving a redirect: Merged)
Jump to navigation Jump to search

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

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

Map definition

Alternative map

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

Precision

Longitude: from West to East this map definition covers Expression error: Unrecognized punctuation character "[". degrees.

  • At an image width of 105 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.
  • At an image width of 300 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.

Latitude: from North to South this map definition covers Expression error: Unrecognized punctuation character "[". degrees.

  • At an image height of 326 pixels (based on width=105), that is Expression error: Unrecognized punctuation character "[". degrees per pixel.
  • At an image height of 932 pixels (based on width=300), that is Expression error: Unrecognized punctuation character "[". degrees per pixel.

Examples using location map templates

Location map, using default map (image)

Lua error in Module:Location_map at line 501: Unable to find the specified location map definition: "Module:Location map/data/Maldives2" does not exist.

Lua error in Module:Location_map at line 501: Unable to find the specified location map definition: "Module:Location map/data/Maldives3" does not exist.
{{Location map | Maldives3
| caption = Location map Maldives3 (default)
| width   = 105
| lat_deg = 4.175
| lon_deg = 73.509
| label   = Malé
}}

Location map many, using relief map (image1)

Lua error in Module:Location_map/multi at line 143: Unable to find the specified location map definition: "Module:Location map/data/Maldives2" does not exist.

Lua error in Module:Location_map/multi at line 143: Unable to find the specified location map definition: "Module:Location map/data/Maldives3" does not exist.
{{Location map many | Maldives3
| caption  = Location map Maldives3 (relief)
| relief   = yes
| width    = 105
| lat1_deg = 4.175
| lon1_deg = 73.509
| label1   = Malé
| lat2_deg = -0.694
| lon2_deg = 73.155
| label2   = Gan
| lat3_deg = 6.766
| lon3_deg = 73.176
| label3   = Hanimaadhoo
| pos3     = top
}}

See also

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