Skip to content

Instantly share code, notes, and snippets.

@antipole2
Created August 22, 2020 11:10
Show Gist options
  • Save antipole2/877273aa49db13a8bba473ff0b7c3574 to your computer and use it in GitHub Desktop.
Save antipole2/877273aa49db13a8bba473ff0b7c3574 to your computer and use it in GitHub Desktop.
Waypoint = require("Waypoint");
newWaypoint = new Waypoint(50.33, -1.3);
newWaypoint.markName = "Demo Waypoint";
newWaypoint.iconName = "anchor";
newWaypoint.isVisible = true;
newWaypoint.description = "Good pub close by ashore";
newWaypoint.hyperlinkList.push({description:"Pub website", link:
"https://coachandhorses.co.uk"});
GUID = OCPNaddSingleWaypoint(newWaypoint);
newWaypoint.GUID = GUID;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment