function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "mne.a001", tier: 1, color: "TMblue", system: "mnea", label: "MNE A1" }; waypoints = [ new Waypoint("M2",42.46996,19.300618), new Waypoint("+X410788",42.497305,19.307785), new Waypoint("+X474707",42.575285,19.39868), new Waypoint("PelBri",42.596487,19.393616), new Waypoint("+X975922",42.610796,19.399366), new Waypoint("Ver",42.643193,19.457603), new Waypoint("+X136687",42.652568,19.476442), new Waypoint("+X175011",42.730669,19.511418), new Waypoint("R13",42.750439,19.542704) ]; traveler = 'michih'; segments = [ 392753, 392754, 392755, 392756, 392757, 392758, 392759, 392760 ]; clinched = [ 392753, 392754, 392755, 392756, 392757, 392758, 392759, 392760 ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }