Module:Location map/data/Republic of the Congo

MyWikiBiz, Author Your Legacy — Sunday December 01, 2024
< Module:Location map
Revision as of 02:39, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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

File:Congo, Republic of the-CIA WFB Map.png
Map of the Republic of the Congo

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

Map definition

  • name = Republic of the Congo
    Name used in the default map caption
  • bottom = -5.76
    Latitude at bottom edge of map, in decimal degrees
  • left = 10.29
    Longitude at left edge of map, in decimal degrees
  • right = 19.126
    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 8.836 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Template:Location map

{{Location map | Republic of the Congo
| width   = 250
| lat_deg = -4.27
| lon_deg = 15.29
| label   = Brazzaville
}}

Template:Clear

Location map many, using relief map (image1)

Template:Location map many

{{Location map many | Republic of the Congo
| relief   = yes
| width    = 250
| caption  = Locations in the Republic of the Congo
| lat1_deg = -4.27
| lon1_deg = 15.29
| label1   = Brazzaville
| lat2_deg = 1.63
| lon2_deg = 18.07
| label2   = Impfondo
}}

Template:Clear

Location map+, using AlternativeMap

Template:Location map+

{{Location map+ | Republic of the Congo
| AlternativeMap = Congo physical map.svg
| width   = 250
| caption = Locations in the Republic of the Congo
| places  =
  {{Location map~ | Republic of the Congo
  | lat_deg = -4.27
  | lon_deg = 15.29
  | label   = Brazzaville
  }}
  {{Location map~ | Republic of the Congo
  | lat_deg = 1.63
  | lon_deg = 18.07
  | label   = Impfondo
  }}
}}

Template:Clear

See also

Location map templates

Creating new map definitions


return {
	name = 'Republic of the Congo',
	top = 3.736,
	bottom = -5.760,
	left = 10.290,
	right = 19.126,
	image = 'Congo location map.svg',
	image1 = 'Congo physical map.svg'
}