Location map of New Zealand
name New Zealand
border
coordinates
-34
165.8 ←↕→ 179.4
-48.3
map center 41°09′S 172°36′E / 41.15°S 172.6°E / -41.15; 172.6
image New Zealand location map.svg
image1 New Zealand relief map.jpg
mark Disc Plain red.svg
marksize 5
Map of New Zealand

Modul:Location map/data/New Zealand joylashuv xaritasi taʼrifi boʻlib, an equirectangular projection New Zealanddagi markerlar va yorliqlarni joylashtirish uchun foydalaniladi. :Modul:Location map/data/New Zealand|1|3}}|ism}}]]}}}. Markerlar standart xaritada yoki shunga o'xshash xarita tasvirida kenglik va uzunlik koordinatalari bo'yicha joylashtiriladi.

Qoʻllanilishi

Ushbu ta'riflar parametr bilan chaqirilganda quyidagi andozalar tomonidan qo'llaniladi „New Zealand“:

Xarita tavsifi

  • name = New Zealand
    Standart xarita sarlavhasida foydalanilgan ism
  • bottom = -48.3
    Latitude at bottom edge of map, in decimal degrees
  • left = 165.8
    Longitude at left edge of map, in decimal degrees
  • right = 179.4
    Longitude at right edge of map, in decimal degrees
  • mark = Disc Plain red.svg (Disc Plain red.svg)
    The default mark image to display with this map. This can be overridden by the mark parameter in Template:Location map, which would otherwise default to Red pog.svg ().
  • marksize = 5
    The default mark size (in pixels) for the mark image displayed with this map (should not include px, for example marksize=5, not marksize=5px). This can be overridden by the marksize parameter in Template:Location map, which would otherwise default to 8.

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 Expression error: Unrecognized punctuation character " ". degrees.

  • At an image width of 200 pixels, that is Expression error: Unrecognized punctuation character " ". degrees per pixel.
  • At an image width of 1000 pixels, that is Expression error: Unrecognized punctuation character " ". degrees per pixel.

Latitude: from North to South this map definition covers Expression error: Unrecognized punctuation character " ". degrees.

  • At an image height of 200 pixels, that is Expression error: Unrecognized punctuation character " ". degrees per pixel.
  • At an image height of 1000 pixels, that is Expression error: Unrecognized punctuation character " ". degrees per pixel.

Xaritalar joylashuvi andozalariga misollar

Location map, using default map (image)

Wellington is located in New Zealand
Wellington
Wellington
Wellington (New Zealand)
{{Location map | New Zealand
| width   = 250
| lat_deg = -41.29
| lon_deg = 174.78
| label   = Wellington
}}

Location map many, using relief map (image1)

Location map/data/New Zealand is located in New Zealand
Wellington
Wellington
Auckland
Auckland
Invercargill
Invercargill
Three locations in New Zealand
{{Location map many | New Zealand
| relief   = yes
| width    = 250
| caption  = Three locations in New Zealand
| lat1_deg = -41.29
| lon1_deg = 174.78
| label1   = Wellington
| lat2_deg = -36.84
| lon2_deg = 174.74
| label2   = Auckland
| lat3_deg = -46.43
| lon3_deg = 168.31
| label3   = Invercargill
}}

Location map+, using AlternativeMap

Location map/data/New Zealand is located in New Zealand
Wellington
Wellington
Auckland
Auckland
Invercargill
Invercargill
Three locations in New Zealand
{{Location map+ | New Zealand
| AlternativeMap = New Zealand relief map.jpg
| width   = 250
| caption = Three locations in New Zealand
| places  =
  {{Location map~ | New Zealand
  | lat_deg = -41.29
  | lon_deg = 174.78
  | label   = Wellington
  }}
  {{Location map~ | New Zealand
  | lat_deg = -36.84
  | lon_deg = 174.74
  | label   = Auckland
  }}
  {{Location map~ | New Zealand
  | lat_deg = -46.43
  | lon_deg = 168.31
  | label   = Invercargill
  }}
}}

Yana qarang

Xaritalar joylashuvi andozalari

Creating new map definitions


return {
	name = 'New Zealand',
	top = -34.0,
	bottom = -48.3,
	left = 165.8,
	right = 179.4,
	image = 'New Zealand location map.svg',
	image1 = 'New Zealand relief map.jpg',
	mark = 'Disc Plain red.svg',
	marksize = 5
}