function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "lux.b003", tier: 2, color: "TMteal", system: "luxb", label: "LUX B3" }; routeInfo[1] = { firstWaypoint: 2, root: "lux.b007", tier: 2, color: "TMteal", system: "luxb", label: "LUX B7" }; routeInfo[2] = { firstWaypoint: 7, root: "lux.b031", tier: 2, color: "TMteal", system: "luxb", label: "LUX B31" }; routeInfo[3] = { firstWaypoint: 9, root: "lux.b040", tier: 2, color: "TMteal", system: "luxb", label: "LUX B40" }; waypoints = [ new Waypoint("B31",49.595323,6.133193), new Waypoint("A3",49.585398,6.133804), new Waypoint("7",49.820127,6.098356), new Waypoint("8",49.836299,6.099896), new Waypoint("9",49.853886,6.121842), new Waypoint("+X40",49.859933,6.122649), new Waypoint("10",49.879029,6.133748), new Waypoint("B3",49.595323,6.133193), new Waypoint("CR224",49.600449,6.136698), new Waypoint("A4",49.511283,5.958777), new Waypoint("+X87",49.511652,5.951669), new Waypoint("PorSer",49.505231,5.946624), new Waypoint("CR168",49.497998,5.942917), new Waypoint("LUX/FRA",49.495351,5.944161) ]; traveler = 'michih'; segments = [ 382990, 382991, 382992, 382993, 382994, 382995, 382996, 382997, 382998, 382999 ]; clinched = [ 382990, 382991, 382992, 382993, 382994, 382995, 382996, 382997, 382998, 382999 ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }