function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "mtq.a001", tier: 1, color: "TMblue", system: "mtqa", label: "MTQ A1" }; waypoints = [ new Waypoint("N1_W",14.614097,-61.05168), new Waypoint("N9",14.618042,-61.03932), new Waypoint("D14a",14.617991,-61.031284), new Waypoint("D14",14.618613,-61.021993), new Waypoint("N1_E",14.614066,-61.011586), new Waypoint("D15",14.609166,-61.005621), new Waypoint("D3",14.599017,-60.99942) ]; traveler = ''; segments = [ 262095, 262096, 262097, 262098, 262099, 262100 ]; clinched = [ ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }