function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "nam.a001", tier: 1, color: "TMblue", system: "nama", label: "NAM A1" }; routeInfo[1] = { firstWaypoint: 13, root: "nam.a002", tier: 1, color: "TMblue", system: "nama", label: "NAM A2" }; waypoints = [ new Waypoint("C28",-22.568168,17.05164), new Waypoint("FloNigSt",-22.5518,17.062132), new Waypoint("B1_S",-22.534994,17.06857), new Waypoint("MonChrSt",-22.511923,17.07505), new Waypoint("D1473_S",-22.47249,17.078226), new Waypoint("D1473_N",-22.414044,17.069782), new Waypoint("D1474",-22.377153,17.06063), new Waypoint("ToD1499",-22.328571,17.051082), new Waypoint("D1499",-22.310279,17.045803), new Waypoint("+X424706",-22.222052,17.020226), new Waypoint("+X537066",-22.17745,16.99791), new Waypoint("+X439664",-22.157976,16.99894), new Waypoint("B1_N",-22.120531,16.969585), new Waypoint("B2",-22.663957,14.580102), new Waypoint("C28",-22.699644,14.585831), new Waypoint("D1984",-22.916144,14.599285) ]; traveler = ''; segments = [ 394676, 394677, 394678, 394679, 394680, 394681, 394682, 394683, 394684, 394685, 394686, 394687, 394688, 394689 ]; clinched = [ ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }