function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "com.rn001", tier: 4, color: "TMgreen", system: "comrn", label: "COM RN1" }; routeInfo[1] = { firstWaypoint: 12, root: "com.rn002", tier: 4, color: "TMgreen", system: "comrn", label: "COM RN2" }; routeInfo[2] = { firstWaypoint: 27, root: "com.rn003", tier: 4, color: "TMgreen", system: "comrn", label: "COM RN3" }; routeInfo[3] = { firstWaypoint: 42, root: "com.rn004", tier: 4, color: "TMgreen", system: "comrn", label: "COM RN4" }; routeInfo[4] = { firstWaypoint: 48, root: "com.rn004a", tier: 4, color: "TMgreen", system: "comrn", label: "COM RN4A" }; routeInfo[5] = { firstWaypoint: 50, root: "com.rn004b", tier: 4, color: "TMgreen", system: "comrn", label: "COM RN4B" }; routeInfo[6] = { firstWaypoint: 54, root: "com.rn005", tier: 4, color: "TMgreen", system: "comrn", label: "COM RN5" }; waypoints = [ new Waypoint("RN2/4",-11.704255,43.255207), new Waypoint("AvePlaInd",-11.702618,43.25523), new Waypoint("RueCOI",-11.691769,43.259421), new Waypoint("RueCor",-11.677338,43.264761), new Waypoint("RR101",-11.668407,43.266757), new Waypoint("Van",-11.614196,43.263044), new Waypoint("Hah",-11.566627,43.272314), new Waypoint("AerPSI",-11.534798,43.276906), new Waypoint("RR105",-11.470141,43.273473), new Waypoint("RR107",-11.430772,43.275061), new Waypoint("RR108",-11.402398,43.278108), new Waypoint("RN3",-11.387832,43.293257), new Waypoint("RN1/4",-11.704255,43.255207), new Waypoint("Iru",-11.706116,43.251775), new Waypoint("Kal",-11.71006,43.252434), new Waypoint("AveAliSoi",-11.720203,43.250577), new Waypoint("MdeBam",-11.738943,43.249655), new Waypoint("Dza",-11.783657,43.270297), new Waypoint("Mit",-11.812391,43.28064), new Waypoint("MdjHam",-11.840534,43.299694), new Waypoint("Tsi",-11.854772,43.367586), new Waypoint("RN5_W",-11.875729,43.393121), new Waypoint("RR117",-11.907362,43.433998), new Waypoint("Chi",-11.923318,43.489058), new Waypoint("Male",-11.885472,43.504143), new Waypoint("Fou",-11.864936,43.493714), new Waypoint("RN3/5",-11.843432,43.464518), new Waypoint("RN1",-11.387832,43.293257), new Waypoint("RR120_W",-11.377787,43.337631), new Waypoint("BanKou",-11.371919,43.36048), new Waypoint("RR121",-11.378679,43.373433), new Waypoint("Ivo",-11.391376,43.393722), new Waypoint("RR120_E",-11.428185,43.396339), new Waypoint("+X867350",-11.454306,43.395953), new Waypoint("Mbe",-11.508517,43.387756), new Waypoint("RN4A",-11.586639,43.386984), new Waypoint("RN4B",-11.635655,43.392048), new Waypoint("SamMadi",-11.675058,43.415308), new Waypoint("+X130392",-11.741286,43.448524), new Waypoint("BanDom",-11.787078,43.45217), new Waypoint("Moh",-11.827576,43.455091), new Waypoint("RN2/5",-11.843432,43.464518), new Waypoint("RN1/2",-11.704255,43.255207), new Waypoint("VersMka",-11.715872,43.260156), new Waypoint("Sal",-11.69076,43.27564), new Waypoint("RR101",-11.643068,43.294509), new Waypoint("+X938210",-11.615982,43.313856), new Waypoint("RN4A/4B",-11.616161,43.359926), new Waypoint("RN4/4B",-11.616161,43.359926), new Waypoint("RN3",-11.586639,43.386984), new Waypoint("RN4/4A",-11.616161,43.359926), new Waypoint("RueLyceKoi",-11.62781,43.36735), new Waypoint("+X706949",-11.639811,43.377897), new Waypoint("RN3",-11.635655,43.392048), new Waypoint("RN2_W",-11.875729,43.393121), new Waypoint("+X684102",-11.873441,43.392649), new Waypoint("Dem",-11.879478,43.40739), new Waypoint("RR117",-11.894396,43.426638), new Waypoint("RR118",-11.885514,43.456507), new Waypoint("Nio",-11.857754,43.448353), new Waypoint("+X545210",-11.852504,43.464146), new Waypoint("RN2/3",-11.843432,43.464518) ]; traveler = ''; segments = [ 96092, 96093, 96094, 96095, 96096, 96097, 96098, 96099, 96100, 96101, 96102, 96103, 96104, 96105, 96106, 96107, 96108, 96109, 96110, 96111, 96112, 96113, 96114, 96115, 96116, 96117, 96118, 96119, 96120, 96121, 96122, 96123, 96124, 96125, 96126, 96127, 96128, 96129, 96130, 96131, 96132, 96133, 96134, 96135, 96136, 96137, 96138, 96139, 96140, 96141, 96142, 96143, 96144, 96145, 96146 ]; clinched = [ ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }