Module:Location map/data/Tunisia/doc


Location map of Tunisia
name Tunisia
border
coordinates
37.7
7.2 ←↕→ 11.9
30
map center 33°51′N 9°33′E / 33.85°N 9.55°E / 33.85; 9.55
image Tunisia adm location map.svg
image1 Tunisian Republic location map Topographic.png
Map of Tunisia

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

Map definition

  • name = Tunisia
    Name used in the default map caption
  • bottom = 30
    Latitude at bottom edge of map, in decimal degrees
  • left = 7.2
    Longitude at left edge of map, in decimal degrees
  • right = 11.9
    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 4.7 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

 
 
Tunis
Tunis (Tunisia)
{{Location map | Tunisia
| width   = 150
| lat_deg = 36.8
| lon_deg = 10.183
| label   = Tunis
}}

Location map many, using relief map (image1)

 
 
Tunis
 
Sfax
Two locations in Tunisia
{{Location map many | Tunisia
| relief   = yes
| width    = 150
| caption  = Two locations in Tunisia
| lat1_deg = 36.8
| lon1_deg = 10.183
| label1   = Tunis
| pos1     = top
| lat2_deg = 34.733
| lon2_deg = 10.767
| label2   = Sfax
| pos2     = bottom
}}

Location map+, using AlternativeMap

 
 
Tunis
 
Sfax
Two locations in Tunisia
{{Location map+ | Tunisia
| AlternativeMap = Tunisian Republic location map Topographic.png
| width   = 150
| caption = Two locations in Tunisia
| places  =
  {{Location map~ | Tunisia
  | lat_deg  = 36.8
  | lon_deg  = 10.183
  | label    = Tunis
  | position = top
  }}
  {{Location map~ | Tunisia
  | lat_deg  = 34.733
  | lon_deg  = 10.767
  | label    = Sfax
  | position = bottom
  }}
}}

See also

Location map templates

Creating new map definitions