Load saved waypoint position

Former Member
Former Member
I want to load the Position (latitude, longitude) of a saved waypoint (Toybox::PersistedContent::Waypoint), but in the doc I see that I only can get the name, the id and the intent. How can I get the position?

var waypoints = PersistedContent.getWaypoints(); // Get the Iterator
var waypoint = waypoints.next(); // Get the next object in the iterator


something like waypoint.position???