Cookbook:APE supports NZTopo. As documented there
NZTopoMap
To embed a map frame from NZTopoMap, find your location in the NZTopo website, click on "Share Map", in the sidebar near the top click on the button after "Copy link to share map".
- Place this link in your page, and wrap it with
%embed%...%%
or%map%...%%
wikistyle, for example:%map height=400px% [[ https://www.topomap.co.nz/NZTopoMap?v=2&ll=-41.315866,174.811448&z=15 | my map]] %%
- If the link URL contains "&pin=1" but not "&lbl=", then link text will become the label of the pin.
- Change z=# to the zoom factor you want (from 5 to 15), generally 13 or 14 works well
To manually type coordinates and other settings, a custom InterMap prefix has been defined:
NZTopo: https://www.topomap.co.nz/NZTopoMap?v=2&new=1&$1
...then in the page type
%map%[[NZTopo:ll=-41.26,174.864&z=12&z=13&pin=1|My location]]%%
.
To embed GPX or KML traces, just attach them to the page with [[Attach:sample.gpx]]
or otherwise link to them, then wrap them in the wikistyles "map nztopo", for example:
%map nztopo% Attach:traceroute.kml %%
Examples
%map height=400px% [[ https://www.topomap.co.nz/NZTopoMap?v=2&ll=-41.315866,174.811448&z=15 | Evans Bay]] %% |
%map height=800px width=600px nztopo% Attach:[=2022-02-11 Matiu.gpx=] %% |
(:nztopo gpx="2022-02-11 Matiu.gpx" height=800px width=600px :) |
(:nztopo gpx="2022-02-11 Matiu.gpx" height=800px width=600px :) |
%map%NZTopo:ll=-41.26,174.864&z=12&pin=1|Matiu%% |