Module:Location map/data/Ivory Coast

From HandWiki
< Module:Location map
Revision as of 22:34, 6 March 2018 by imported>Plastikspork (Protected "Module:Location map/data/Ivory Coast": High-risk Lua module ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Location map of Ivory Coast
name Ivory Coast
border
coordinates
11
-9 ←↕→ -2
4
map center [ ⚑ ] 7°30′N 5°30′W / 7.5°N 5.5°W / 7.5; -5.5
image Côte d'Ivoire adm location map.svg
Côte d'Ivoire adm location map.svg
image1 Côte d'Ivoire relief location map.jpg
Côte d'Ivoire relief location map.jpg
Map of Ivory Coast (Côte d'Ivoire)

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

Map definition

  • name = Ivory Coast
    Name used in the default map caption
  • bottom = 4
    Latitude at bottom edge of map, in decimal degrees
  • left = -9
    Longitude at left edge of map, in decimal degrees
  • right = -2
    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 7 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Yamoussoukro is located in Ivory Coast
Yamoussoukro
Yamoussoukro
Yamoussoukro (Ivory Coast)
{{Location map | Ivory Coast
| width   = 250
| lat_deg = 6.82
| lon_deg = -5.28
| label   = Yamoussoukro
}}

Location map many, using relief map (image1)

Location map/data/Ivory Coast is located in Ivory Coast
Yamoussoukro
Yamoussoukro
Abidjan
Abidjan
Two locations in Ivory Coast (Côte d'Ivoire)
{{Location map many | Ivory Coast
| relief   = yes
| width    = 250
| caption  = Two locations in Ivory Coast (''Côte d'Ivoire'')
| lat1_deg = 6.82
| lon1_deg = -5.28
| label1   = Yamoussoukro
| lat2_deg = 5.32
| lon2_deg = -4.03
| label2   = Abidjan
}}

Location map+, using AlternativeMap

Location map/data/Ivory Coast is located in Ivory Coast
Yamoussoukro
Yamoussoukro
Abidjan
Abidjan
Two locations in Ivory Coast (Côte d'Ivoire)
{{Location map+ | Ivory Coast
| AlternativeMap = Côte d'Ivoire relief location map.jpg
| width   = 250
| caption = Two locations in Ivory Coast (''Côte d'Ivoire'')
| places  =
  {{Location map~ | Ivory Coast
  | lat_deg = 6.82
  | lon_deg = -5.28
  | label   = Yamoussoukro
  }}
  {{Location map~ | Ivory Coast
  | lat_deg = 5.32
  | lon_deg = -4.03
  | label   = Abidjan
  }}
}}

See also

Location map templates

Creating new map definitions


return {
	name = "Ivory Coast",
	top = 11.0,
	bottom = 4.0,
	left = -9.0,
	right = -2.0,
	image = "Côte d'Ivoire adm location map.svg",
	image1 = "Côte d'Ivoire relief location map.jpg"
}