Cookbook
Topics |
NZ TopoNZTopo version 2018-07-10 Summary: Use https://www.topomap.co.nz/ to display an excerpt from a New Zealand map in PmWiki
Version: 2018-07-10
Prerequisites: PmWiki 2.2.103 (PHP 7.2 compatible)
Status: Production
Maintainer: skiwi
File: 2018-07-10-nztopo.php
Discussion: NZTopo-Talk?
License: GPL3+
Questions answered by this recipeHow do I display on a PmWiki page part of a topographic map of New Zealand using the official LINZ's 1:50,000 / Topo50 and 1:250,000 / Topo250 maps, as well as 1:25,000 / Topo25 maps for some of the offshore islands? DescriptionThis recipe generates the markup for topomap.co.nz's ability to share the map Installation
UsagePlace the directive, as described below, in your PmWiki page. You can specify a locale as a decimal WGS84 latitude and longitude ( The scale of the map, but not the image, will automatically resize to the area covered by the kml / gpx data, or you can optionally specify the map zoom factor and the image size (height and width) to control the area of the map shown. You can specify bounds of an area, by latitude and longitude ( You can optionally specify to show a pin marker ( The recipe provides a page variable Configuration
llbs=latitude,longitude;latitude,longitude[;latitude,longitude...]
nzne=northing,easting
nzbs=northing,easting;northing,easting[;northing,easting...]
mapref=mapref
kml="url" gpx="url"
height=pixels width=pixels pin=1 label="string" zoom=number float=left|right clear=both|right|left:)
Only one of: ll; llbs; nzne; nzbs; kml; gpx; can be specified
|
Page last modified on 2019 Oct 07 08:49
Edit - History - Recent Changes - WikiHelp - Search - ?Subject=KiwiWiki: NZ Topo&Body=From KiwiWiki: NZ Topo (//kiwiwiki [period] co [period] nz/pmwiki/pmwiki [period] php/Cookbook/NZTopo) - Use [[https://www [period] topomap [period] co [period] nz/ -> mailto:?Subject=KiwiWiki:%20NZ%20Topo&Body=From%20KiwiWiki:%20NZ%20Topo%20(//kiwiwiki [period] co [period] nz/pmwiki/pmwiki [period] php/Cookbook/NZTopo)%20-%20Use%20[[https://www [period] topomap [period] co [period] nz/ to display an excerpt from a New Zealand map in PmWiki|email page as link]]