function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "nir.a008m", tier: 1, color: "TMblue", system: "niram", label: "NIR A8M" }; waypoints = [ new Waypoint("M2",54.678629,-5.979057), new Waypoint("B56",54.6925,-5.970554) ]; traveler = ''; segments = [ 296933 ]; clinched = [ ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }