Created
August 22, 2020 11:10
-
-
Save antipole2/877273aa49db13a8bba473ff0b7c3574 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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