ഘടകം:Location map/data/Benin

വിക്കിപീഡിയ, ഒരു സ്വതന്ത്ര വിജ്ഞാനകോശം.
Jump to navigation Jump to search


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
Benin location map.svg
image1 Benin physical map.svg
Benin physical map.svg
Map of Benin

ഘടകം: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 {{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 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 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 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
Creating new map definitions
Infobox templates incorporating (passing values to) the Location map template
List

return {
	name = 'Benin',
	top = 12.6,
	bottom = 6.0,
	left = 0.6,
	right = 4.1,
	image = 'Benin location map.svg',
	image1 = 'Benin physical map.svg',
	defaultscale = 0.53
}
"https://ml.wikipedia.org/w/index.php?title=ഘടകം:Location_map/data/Benin&oldid=3239067" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്