Module:Location map/data/New Zealand transparent

From imedwiki
Jump to navigation Jump to search


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 transparent.svg
New Zealand location map transparent.svg
mark Disc Plain red.svg
marksize 5


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

Map definition

  • name = New Zealand
    Name used in the default map caption
  • 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 (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.

Precision

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

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

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

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

Examples using location map templates

Standard version

Kumara is located in New Zealand
Kumara
Kumara
{{Location map
 |New Zealand transparent
 |label=Kumara
 |lat_dir=S | lat_deg=42 | lat_min=38
 |lon_dir=E | lon_deg=171 | lon_min=11
 |position=left
 |width= 150
 |float=right
 |caption=
}}

Standard version with coloured background

Kumara is located in New Zealand
Kumara
Kumara
<div style="width:160px; background:#E0FFFF; float:right;" border="0">{{Location map
 |New Zealand transparent
 |label=Kumara
 |lat_dir=S | lat_deg=42 | lat_min=38
 |lon_dir=E | lon_deg=171 | lon_min=11
 |position=left
 |width= 150
 |float=right
 |caption=
}}</div>

Long placename on East Coast

Maungakotukutuku is located in New Zealand
Maungakotukutuku
Maungakotukutuku
{{Location map
 |New Zealand transparent
 |label=Maungakotukutuku
 |lat_dir=S | lat_deg=40 | lat_min=57
 |lon_dir=E | lon_deg=175 | lon_min=1
 |width= 150
 |float=left
 |caption=
}}

Large version

Kinloch is located in New Zealand
Kinloch
Kinloch
{{Location map
 |New Zealand transparent
 |label=Kinloch
 |label_size=150
 |marksize=9
 |lat_dir=S | lat_deg=38 | lat_min=39
 |lon_dir=E | lon_deg=175 | lon_min=55
 |position=left
 |width= 250
 |float=right
 |caption=
}}

Multiple locations

Location map/data/New Zealand transparent is located in New Zealand
Auckland
Auckland
WELLINGTON
WELLINGTON
Christchurch
Christchurch
 
{{Location map+|New Zealand transparent|width=150|caption=|border=none|places=
{{Location map~|New Zealand transparent|label_size=90|marksize=7|lat=-36.85|long=174.783333|position=left|label=Auckland}}
{{Location map~|New Zealand transparent|label_size=85|marksize=5|lat=-41.288889|long=174.777222|position=left|label=WELLINGTON}}
{{Location map~|New Zealand transparent|label_size=75|marksize=5|lat=-43.53|long=172.620278|position=right|label=Christchurch}}
}}

See also

Location map templates

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 transparent.svg',
	mark = 'Disc Plain red.svg',
	marksize = 5
}