Module:Location map/data/Benin

MyWikiBiz, Author Your Legacy — Sunday November 24, 2024
Jump to navigationJump to search

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

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 {{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)

Template:Location map

{{Location map | Benin
| width    = 125
| lat_deg  = 6.497
| lon_deg  = 2.605
| label    = Porto-Novo
| position = top
}}

Template:Clear

Location map many, using relief map (image1)

Template:Location map many

{{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
}}

Template:Clear

Location map+, using AlternativeMap

Template:Location map+

{{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
  }}
}}

Template:Clear

See also

Location map templates

Creating new map definitions


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
}