Recent Changes - Search:

add Test page

hide

Test


hide

Topics

show

Changed

Visitor's book Site map pmwiki-2.3.32

NZ Topo-APE

MessagesReplacement version 2024-04-10new DebugMessages version 2024-01-14

Testing the Cookbook:NZTopo recipe, see NZTopo


NZTopo version 2024-04-10new

Cookbook:APE supports NZTopo. As documented there

NZTopoMap

To embed a map frame from NZTopoMap, find your location in the 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:
  • %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.

Note that this service produces a map frame, but does not allow to zoom and pan, clicking on the map opens the provider's website in a new browser tab.

To manually type coordinates and other settings, it may be useful to define a custom InterMap prefix like:

NZTopo: https://www.topomap.co.nz/NZTopoMap?v=2&new=1&$1
...then in the page type something like %map%[[NZTopo:ll=-41.26,174.864&z=12&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":

%map nztopo% Attach:traceroute.kml %%

See Cookbook.NZTopo, Cookbook:NZTopo, Test NZTopo-Zoom, Test NZTopo-Attach, and http://www.topomap.co.nz/(approve sites).

Test

%map height=400px% [[ https://www.topomap.co.nz/NZTopoMap?v=2&ll=-41.315866,174.811448&z=15 | my map]] %%

my map

%map nztopo height=240px width=240px% Attach:[=2022-02-11 garmin Matiu.gpx=] %%
%map nztopo height=240px width=240px% Attach:[=2022-02-11 garmin Matiu.gpx=] %%
%map nztopo height=240px width=240px% Attach:[=2022-02-11 garmin Matiu.gpx=] %%

2022-02-11 garmin Matiu.gpx 2022-02-11 garmin Matiu.gpx 2022-02-11 garmin Matiu.gpx

Test

(:nztopo gpx="2022-02-11 garmin Matiu.gpx" height=800px width=600px :)

Test

double urlencode, %20 in path. Does not work

test gpx attachments

Messages

tahi Page last modified on 2022 Dec 04 08:43

Edit - History - Recent Changes - WikiHelp - Search - ?Subject="KiwiWiki: NZ Topo-APE"&Body="From KiwiWiki: NZ Topo-APE (https://kiwiwiki [period] nz/Test/NZTopo-APE) - Testing the Cookbook:NZTopo recipe, see [[Cookbook/NZTopo" | email page as link ]]