وحدة:Location map/data/Tunisia


خريطة موقع تونس
الاسم تونس
احداثيات
الحدود
37.7
7.2 ←↕→ 11.9
30
مركز الخريطة 33°51′N 9°33′E / 33.85°N 9.55°E / 33.85; 9.55
الصورة Tunisia adm location map.svg
Tunisia adm location map.svg
الصورة1 Tunisian Republic location map Topographic.png
Tunisian Republic location map Topographic.png
Map of Tunisia

وحدة:Location map/data/Tunisia is a location map definition used to overlay markers and labels on an equirectangular projection map of تونس. 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 = تونس
    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 map defined as image1 (Tunisian Republic location map Topographic.png) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. The use of these two parameters is shown in the examples below. Additional examples can be found at:

Precision

Longitude: from West to East this map definition covers 4 degrees.

  • At an image width of 200 pixels, that is 0.02 degrees per pixel.
  • At an image width of 1000 pixels, that is 0.004 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 is located in تونس
Tunis
Tunis
Tunis (تونس)
{{Location map | Tunisia
| width   = 150
| lat_deg = 36.8
| lon_deg = 10.183
| label   = Tunis
}}

Location map many, using relief map (image1)

Location map/data/Tunisia is located in تونس
Tunis
Tunis
Sfax
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

Location map/data/Tunisia is located in تونس
Tunis
Tunis
Sfax
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
Infobox templates incorporating (passing values to) the Location map template
List

return {
	name = 'تونس',
	top = 37.7,
	bottom = 30.0,
	left = 7.2,
	right = 11.9,
	image = 'Tunisia adm location map.svg',
	image1 = 'Tunisian Republic location map Topographic.png'
}