function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "rou.dex12", tier: 2, color: "TMteal", system: "roudex", label: "ROU DEx12" }; routeInfo[1] = { firstWaypoint: 16, root: "rou.dex16", tier: 2, color: "TMteal", system: "roudex", label: "ROU DEx16" }; waypoints = [ new Waypoint("DN65_Col",44.651444,24.700291), new Waypoint("+X9",44.648422,24.67481), new Waypoint("+X8",44.619776,24.64433), new Waypoint("+X7",44.587541,24.587166), new Waypoint("Neg",44.570276,24.579965), new Waypoint("+X6",44.486919,24.439028), new Waypoint("DN65_SlaN",44.473085,24.425003), new Waypoint("+X1",44.423387,24.42471), new Waypoint("DJ546",44.407711,24.412525), new Waypoint("+X2",44.38566,24.339411), new Waypoint("+X3",44.391755,24.281003), new Waypoint("DC13",44.381957,24.242712), new Waypoint("+X4",44.353621,24.209061), new Waypoint("DJ644",44.339872,24.164193), new Waypoint("+X5",44.332835,24.132773), new Waypoint("DC154A",44.346576,24.074642), new Waypoint("A3",47.19062,21.891662), new Waypoint("+X1",47.170453,21.895071), new Waypoint("DC71",47.124927,21.862248), new Waypoint("+X2",47.113257,21.84479), new Waypoint("DN1",47.100399,21.847553), new Waypoint("DN1Y",47.092949,21.845203) ]; traveler = 'michih'; segments = [ 433783, 433784, 433785, 433786, 433787, 433788, 433789, 433790, 433791, 433792, 433793, 433794, 433795, 433796, 433797, 433798, 433799, 433800, 433801, 433802 ]; clinched = [ 433789, 433790, 433791, 433792, 433793, 433794, 433795, 433796, 433797 ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }