function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "bih.a001", tier: 1, color: "TMblue", system: "biha", label: "BIH A1" }; routeInfo[1] = { firstWaypoint: 27, root: "bih.a001bub", tier: 1, color: "TMblue", system: "biha", label: "BIH A1Bub" }; routeInfo[2] = { firstWaypoint: 32, root: "bih.a001odz", tier: 1, color: "TMblue", system: "biha", label: "BIH A1Odz" }; routeInfo[3] = { firstWaypoint: 36, root: "bih.a001rud", tier: 1, color: "TMblue", system: "biha", label: "BIH A1Rud" }; waypoints = [ new Waypoint("12",44.241671,17.901793), new Waypoint("+X147995",44.192898,17.967153), new Waypoint("13",44.176264,17.972689), new Waypoint("+X366099",44.141196,17.968311), new Waypoint("14",44.133543,17.988245), new Waypoint("+X294750",44.135221,18.079548), new Waypoint("15",44.12333,18.09956), new Waypoint("+X194",44.105831,18.111134), new Waypoint("+X196",44.0555,18.1038), new Waypoint("+X197",44.009021,18.144693), new Waypoint("16",44.00487,18.166537), new Waypoint("+X198",43.990993,18.198338), new Waypoint("+X200",43.992105,18.220139), new Waypoint("17",43.969523,18.25151), new Waypoint("+X201",43.94769,18.255587), new Waypoint("+X202",43.938667,18.289833), new Waypoint("18",43.90696,18.324101), new Waypoint("+X764679",43.900645,18.326912), new Waypoint("19",43.874788,18.292623), new Waypoint("+X165499",43.863975,18.275864), new Waypoint("20",43.861267,18.249815), new Waypoint("+X779243",43.87915,18.18615), new Waypoint("21",43.863,18.144307), new Waypoint("+X622564",43.821957,18.091307), new Waypoint("22",43.79207,18.082252), new Waypoint("+X795176",43.742592,18.038006), new Waypoint("M17_Bra",43.74098,18.024745), new Waypoint("31",43.157391,17.660351), new Waypoint("+X327826",43.161492,17.647305), new Waypoint("+X977410",43.146495,17.596192), new Waypoint("32",43.129522,17.586622), new Waypoint("BIH/HRV",43.123101,17.56628), new Waypoint("HRV/BIH",45.105603,18.314606), new Waypoint("1",45.099639,18.299189), new Waypoint("+X163260",45.087521,18.282537), new Waypoint("2",45.025366,18.297182), new Waypoint("5",44.797262,18.075385), new Waypoint("6",44.761057,18.060751) ]; traveler = ''; segments = [ 50509, 50510, 50511, 50512, 50513, 50514, 50515, 50516, 50517, 50518, 50519, 50520, 50521, 50522, 50523, 50524, 50525, 50526, 50527, 50528, 50529, 50530, 50531, 50532, 50533, 50534, 50535, 50536, 50537, 50538, 50505, 50506, 50507, 50508 ]; clinched = [ ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }