function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "ncl.e001", tier: 2, color: "TMteal", system: "ncle", label: "NCL E1" }; routeInfo[1] = { firstWaypoint: 9, root: "ncl.e002", tier: 2, color: "TMteal", system: "ncle", label: "NCL E2" }; waypoints = [ new Waypoint("AveJamCook",-22.266952,166.438011), new Waypoint("RueBer",-22.260176,166.444631), new Waypoint("RueEdoUng",-22.252123,166.449201), new Waypoint("P7",-22.249591,166.450446), new Waypoint("RueJacIek",-22.246919,166.456937), new Waypoint("AveBon",-22.242093,166.458471), new Waypoint("RueAmp",-22.233751,166.45757), new Waypoint("E2",-22.223522,166.469393), new Waypoint("T1",-22.224416,166.481001), new Waypoint("E1",-22.223522,166.469393), new Waypoint("AvePEVic",-22.22089,166.47024), new Waypoint("RueAlbSch",-22.213192,166.4642), new Waypoint("AveDep",-22.195332,166.446455), new Waypoint("AveAntBec",-22.185557,166.435275), new Waypoint("M1",-22.172662,166.416049), new Waypoint("RueAra",-22.164504,166.385901), new Waypoint("RouZIZAPai",-22.156814,166.377286), new Waypoint("VoieRac",-22.145833,166.364679), new Waypoint("T1",-22.130131,166.336913) ]; traveler = ''; segments = [ 262118, 262119, 262120, 262121, 262122, 262123, 262124, 262125, 262126, 262127, 262128, 262129, 262130, 262131, 262132, 262133, 262134 ]; clinched = [ ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }