function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "alb.a001", tier: 1, color: "TMblue", system: "alba", label: "ALB A1" }; routeInfo[1] = { firstWaypoint: 53, root: "alb.a002", tier: 1, color: "TMblue", system: "alba", label: "ALB A2" }; routeInfo[2] = { firstWaypoint: 68, root: "alb.a003", tier: 1, color: "TMblue", system: "alba", label: "ALB A3" }; waypoints = [ new Waypoint("SH1_S",41.540964,19.674969), new Waypoint("EurPark",41.557604,19.672834), new Waypoint("FusMam",41.569834,19.674625), new Waypoint("Gjo",41.600465,19.667888), new Waypoint("PatSan",41.623511,19.669647), new Waypoint("SH35",41.641618,19.671278), new Waypoint("SH1_N",41.661082,19.672909), new Waypoint("SH30/39",41.682432,19.710159), new Waypoint("+X477281",41.698679,19.73196), new Waypoint("+X938389",41.699064,19.765949), new Waypoint("SH6",41.70496,19.774704), new Waypoint("+X577115",41.727063,19.781914), new Waypoint("Bul",41.762389,19.783351), new Waypoint("+X885023",41.773288,19.789617), new Waypoint("+X681748",41.780009,19.783952), new Waypoint("SH30_Rub",41.781753,19.783609), new Waypoint("SH30_Mun",41.783665,19.784317), new Waypoint("+X939125",41.785873,19.78569), new Waypoint("+X299143",41.792817,19.803371), new Waypoint("+X946801",41.781841,19.828262), new Waypoint("SH30_Rre",41.784369,19.864869), new Waypoint("+X919828",41.803182,19.901991), new Waypoint("+X2",41.799599,19.916625), new Waypoint("+X560672",41.81521,19.947825), new Waypoint("+X756960",41.847315,19.979195), new Waypoint("SH30_Rep",41.862817,20.009923), new Waypoint("+X968494",41.869721,20.031896), new Waypoint("+X468376",41.866142,20.05816), new Waypoint("+X835728",41.889068,20.092535), new Waypoint("+X3",41.888956,20.11543), new Waypoint("+X360397",41.90892,20.129614), new Waypoint("SH40",41.930826,20.156522), new Waypoint("+X4",41.996881,20.215788), new Waypoint("+X5",42.025053,20.292328), new Waypoint("+X647948",42.060748,20.316918), new Waypoint("+X935790",42.063823,20.327067), new Waypoint("+X557517",42.055124,20.33447), new Waypoint("SH5",42.06849,20.332732), new Waypoint("+X497382",42.075196,20.36788), new Waypoint("+X801675",42.085834,20.376763), new Waypoint("Mam",42.084246,20.387846), new Waypoint("+X250009",42.075124,20.398822), new Waypoint("RruTir",42.075849,20.408285), new Waypoint("SH31",42.06301,20.427918), new Waypoint("SH26",42.059489,20.436888), new Waypoint("+X354019",42.068155,20.46371), new Waypoint("+X352618",42.081439,20.457788), new Waypoint("Gje",42.078094,20.469718), new Waypoint("+X707017",42.102394,20.478945), new Waypoint("Bar",42.110974,20.495113), new Waypoint("BarI",42.121233,20.511925), new Waypoint("Mor",42.140249,20.525465), new Waypoint("ALB/RKS",42.155991,20.547309), new Waypoint("SH4_Mbr",40.76586,19.587851), new Waypoint("Dau",40.747891,19.559398), new Waypoint("+X769300",40.750151,19.514937), new Waypoint("SH66",40.740887,19.480729), new Waypoint("+X111675",40.727324,19.439106), new Waypoint("Poj",40.709694,19.447088), new Waypoint("SH4_Lev",40.673071,19.479232), new Waypoint("+X369754",40.659448,19.470005), new Waypoint("+X611852",40.651797,19.44859), new Waypoint("+X994607",40.633398,19.446959), new Waypoint("RrStaUjs",40.61506,19.469275), new Waypoint("+X844309",40.603234,19.477386), new Waypoint("Cer",40.557113,19.462795), new Waypoint("+X877403",40.516213,19.458632), new Waypoint("SH8_Vlo",40.487954,19.477215), new Waypoint("SH3_Lun",41.282999,19.853411), new Waypoint("SH3_Mul",41.263824,19.873452), new Waypoint("SH3_Ber",41.237592,19.916818), new Waypoint("SH3_Ibe",41.230387,19.929349), new Waypoint("*SH3_Mus",41.210156,19.957566), new Waypoint("+X730568",41.193381,19.989839), new Waypoint("Mam",41.16839,20.000246), new Waypoint("SH3_Bra",41.105776,20.024987) ]; traveler = ''; segments = [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72 ]; clinched = [ ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }