function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "svn.h003", tier: 2, color: "TMteal", system: "svnh", label: "SVN H3" }; routeInfo[1] = { firstWaypoint: 11, root: "svn.h004", tier: 2, color: "TMteal", system: "svnh", label: "SVN H4" }; routeInfo[2] = { firstWaypoint: 21, root: "svn.h005", tier: 2, color: "TMteal", system: "svnh", label: "SVN H5" }; routeInfo[3] = { firstWaypoint: 29, root: "svn.h006", tier: 2, color: "TMteal", system: "svnh", label: "SVN H6" }; routeInfo[4] = { firstWaypoint: 32, root: "svn.h007", tier: 2, color: "TMteal", system: "svnh", label: "SVN H7" }; waypoints = [ new Waypoint("A1",46.067399,14.576583), new Waypoint("1",46.067837,14.557647), new Waypoint("1a",46.070603,14.551177), new Waypoint("2",46.081135,14.527702), new Waypoint("3",46.083531,14.513554), new Waypoint("4",46.084327,14.501465), new Waypoint("5",46.082556,14.490108), new Waypoint("6",46.078909,14.481118), new Waypoint("7",46.076751,14.473248), new Waypoint("8",46.07346,14.463995), new Waypoint("A2",46.069755,14.458201), new Waypoint("A1",45.757398,14.054078), new Waypoint("+X1",45.802358,13.978729), new Waypoint("1",45.835449,13.954428), new Waypoint("+X2",45.860961,13.938692), new Waypoint("2",45.880133,13.901876), new Waypoint("3",45.895489,13.788314), new Waypoint("4",45.918154,13.709543), new Waypoint("5",45.921072,13.650094), new Waypoint("ZniUli",45.920028,13.629431), new Waypoint("SVN/ITA",45.919319,13.621502), new Waypoint("ITA/SVN",45.582246,13.797321), new Waypoint("1",45.578702,13.79635), new Waypoint("2",45.566312,13.783751), new Waypoint("3",45.560932,13.78561), new Waypoint("3a",45.557405,13.784162), new Waypoint("A1",45.554787,13.778143), new Waypoint("G114",45.54698,13.763766), new Waypoint("5",45.537563,13.734758), new Waypoint("1",45.537563,13.734758), new Waypoint("2",45.541443,13.721479), new Waypoint("3",45.534409,13.673558), new Waypoint("A5",46.586783,16.42941), new Waypoint("1",46.592062,16.435976), new Waypoint("GlaUli",46.592837,16.458764) ]; traveler = 'michih'; segments = [ 455745, 455746, 455747, 455748, 455749, 455750, 455751, 455752, 455753, 455754, 455755, 455756, 455757, 455758, 455759, 455760, 455761, 455762, 455763, 455764, 455765, 455766, 455767, 455768, 455769, 455770, 455771, 455772, 455773, 455774 ]; clinched = [ 455745, 455746, 455747, 455748, 455749, 455750, 455751, 455752, 455753, 455754, 455755, 455756, 455757, 455758, 455759, 455760, 455761, 455762, 455763, 455764, 455765, 455766, 455767, 455768, 455769, 455770, 455771, 455772, 455773, 455774 ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }