Jump to content

Module:Location map/data/Benin/doc

විකිපීඩියා වෙතින්


Location map of Benin
name Benin
border
coordinates
12.6
0.6 ←↕→ 4.1
6
map center 9°18′N 2°21′E / 9.3°N 2.35°E / 9.3; 2.35
image Benin location map.svg
image1 Benin physical map.svg
Map of Benin

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

Map definition

  • name = Benin
    Name used in the default map caption
  • bottom = 6
    Latitude at bottom edge of map, in decimal degrees
  • left = 0.6
    Longitude at left edge of map, in decimal degrees
  • right = 4.1
    Longitude at right edge of map, in decimal degrees

Alternative map

The map defined as image1 (Benin physical map.svg) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. 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 3.5 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Porto-Novo is located in Benin
Porto-Novo
Porto-Novo
Porto-Novo (Benin)
{{Location map | Benin
| width    = 125
| lat_deg  = 6.497
| lon_deg  = 2.605
| label    = Porto-Novo
| position = top
}}

Location map many, using relief map (image1)

Location map/data/Benin/doc is located in Benin
Porto-Novo
Porto-Novo
Djougou
Djougou
Two locations in Benin
{{Location map many | Benin
| relief   = yes
| width    = 125
| caption  = Two locations in Benin
| lat1_deg = 6.497
| lon1_deg = 2.605
| label1   = Porto-Novo
| pos1     = top
| lat2_deg = 9.7
| lon2_deg = 1.67
| label2   = Djougou
}}

Location map+, using AlternativeMap

Location map/data/Benin/doc is located in Benin
Porto-Novo
Porto-Novo
Djougou
Djougou
Two locations in Benin
{{Location map+ | Benin
| AlternativeMap = Benin physical map.svg
| width   = 125
| caption = Two locations in Benin
| places  =
  {{Location map~ | Benin
  | lat_deg  = 6.497
  | lon_deg  = 2.605
  | label    = Porto-Novo
  | position = top
  }}
  {{Location map~ | Benin
  | lat_deg  = 9.7
  | lon_deg  = 1.67
  | label    = Djougou
  }}
}}

See also

Location map templates
Infobox templates incorporating (passing values to) the Location map template
List
"https://si.wikipedia.org/w/index.php?title=Module:Location_map/data/Benin/doc&oldid=641814" වෙතින් සම්ප්‍රවේශනය කෙරිණි