Jump to content

Module:Location map/data/Maldives/doc

From Wikipedia, the free encyclopedia


Location map of Maldives
name Maldives
border
coordinates
7.5
71.9 ←↕→ 74.7
-1.2
map center 3°09′N 73°18′E / 3.15°N 73.3°E / 3.15; 73.3
image Maledives location map.svg
image1 Maledives relief location map.jpg
Map of Maldives

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)

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

Location map many, using relief map (image1)

Location map/data/Maldives/doc is located in Maldives
Malé
Malé
Gan
Gan
Hanimaadhoo
Hanimaadhoo
Location map Maldives
Location map/data/Maldives/doc is located in Maldives
Malé
Malé
Gan
Gan
Hanimaadhoo
Hanimaadhoo
Location map Maldives (relief)
{{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
}}

See also

See also

Location map templates

Creating new map definitions