function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "dc.dc295", tier: 4, color: "TMbrown", system: "usadc", label: "DC DC295" }; waypoints = [ new Waypoint("1A",38.869618,-76.987634), new Waypoint("1B",38.875198,-76.974592), new Waypoint("ECapSt",38.889764,-76.958477), new Waypoint("BenRd",38.895575,-76.95204), new Waypoint("NHBurAve",38.902397,-76.943741), new Waypoint("NashSt",38.907536,-76.938238), new Waypoint("DC/MD",38.912265,-76.934123) ]; traveler = 'dfilpus'; segments = [ 606873, 606874, 606875, 606876, 606877, 606878 ]; clinched = [ 606873, 606874, 606875, 606876, 606877, 606878 ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }