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 | |||
image | 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":
{{Location map|New Zealand transparent |...}}
{{Location map many|New Zealand transparent |...}}
{{Location map+|New Zealand transparent |...}}
{{Location map~|New Zealand transparent |...}}
Map definition
name = New Zealand
- Name used in the default map caption
image = New Zealand location map transparent.svg
- The default map image, without "Image:" or "File:"
top = -34
- Latitude at top edge of map, in decimal degrees
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 ()
- 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 ().
- The default mark image to display with this map. This can be overridden by the
marksize = 5
- The default mark size (in pixels) for the mark image displayed with this map (should not include
px
, for examplemarksize=5
, notmarksize=5px
). This can be overridden by themarksize
parameter in Template:Location map, which would otherwise default to 8.
- The default mark size (in pixels) for the mark image displayed with this map (should not include
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
{{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
<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
{{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
{{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+|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
- Template:Location map, to display one mark and label using latitude and longitude
- Template:Location map many, to display up to nine marks and labels
- Template:Location map+, to display an unlimited number of marks and labels
Creating new map definitions