Module:Location map/data/Maldives

MyWikiBiz, Author Your Legacy — Friday April 26, 2024
Jump to navigationJump to search

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

Module:Location map/data/Maldives 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 "Maldives":

Map definition

  • name = Maldives
    Name used in the default map caption
  • bottom = -1.2
    Latitude at bottom edge of map, in decimal degrees
  • left = 71.9
    Longitude at left edge of map, in decimal degrees
  • right = 74.7
    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 2.8 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Template:Location map Template:Stack

{{Location map | Maldives
| caption = Location map Maldives (default)
| width   = 105
| lat_deg = 4.175
| lon_deg = 73.509
| label   = Malé
}}

Template:Clear

Location map many, using relief map (image1)

Template:Location map many Template:Stack

{{Location map many | Maldives
| caption  = Location map Maldives (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
}}

Template:Clear

See also

Template:Clear

See also

Location map templates

Creating new map definitions



return {
	name = 'Maldives',
	top = 7.5,
	bottom = -1.2,
	left = 71.9,
	right = 74.7,
	image = 'Maledives location map.svg',
	image1 = 'Maledives relief location map.jpg'
}