function waypointsFromSQL() { newRouteIndices[0] = 0; routeTier[0] = 2; routeColor[0] = 'teal'; routeSystem[0] = 'luxb'; waypoints[0] = new Waypoint("N3",49.595385,6.133118) waypoints[1] = new Waypoint("RueGlu",49.585398,6.133804) newRouteIndices[1] = 2; routeTier[1] = 2; routeColor[1] = 'teal'; routeSystem[1] = 'luxb'; waypoints[2] = new Waypoint("N4",49.599419,6.118484) waypoints[3] = new Waypoint("RueMerl",49.60042,6.10445) newRouteIndices[2] = 4; routeTier[2] = 2; routeColor[2] = 'teal'; routeSystem[2] = 'luxb'; waypoints[4] = new Waypoint("7",49.820127,6.098356) waypoints[5] = new Waypoint("8",49.836253,6.099923) waypoints[6] = new Waypoint("9",49.853867,6.121852) waypoints[7] = new Waypoint("10",49.870549,6.129127) newRouteIndices[3] = 8; routeTier[3] = 2; routeColor[3] = 'teal'; routeSystem[3] = 'luxb'; waypoints[8] = new Waypoint("PorSer",49.506729,5.948925) waypoints[9] = new Waypoint("CR168",49.497998,5.942917) waypoints[10] = new Waypoint("LUX/FRA",49.495351,5.944161) traveler = 'dfilpus'; segments[0] = 187708; // route=lux.b003 segments[1] = 187709; // route=lux.b004 segments[2] = 187710; // route=lux.b007 segments[3] = 187711; // route=lux.b007 segments[4] = 187712; // route=lux.b007 segments[5] = 187713; // route=lux.b040 segments[6] = 187714; // route=lux.b040 clinched[0] = 187708; // route=lux.b003 mapClinched = true; genEdges = true; }