function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "eng.net1", tier: 4, color: "TMred", system: "gbnnet", label: "ENG NET1" }; routeInfo[1] = { firstWaypoint: 38, root: "eng.net2", tier: 4, color: "TMred", system: "gbnnet", label: "ENG NET2" }; waypoints = [ new Waypoint("Huc",53.038362,-1.195858), new Waypoint("ButHill",53.028833,-1.188573), new Waypoint("MoorBr",53.014422,-1.187081), new Waypoint("BulFor",53.00589,-1.190292), new Waypoint("Bul",52.999322,-1.195493), new Waypoint("+X655975",52.99281,-1.19398), new Waypoint("HigVale",52.989396,-1.189163), new Waypoint("DavLn",52.984908,-1.182055), new Waypoint("Bas",52.98162,-1.17837), new Waypoint("+X750928",52.977056,-1.176932), new Waypoint("+X751608",52.972676,-1.180344), new Waypoint("WilSt",52.971989,-1.178252), new Waypoint("ShiSt",52.971296,-1.174099), new Waypoint("BeaStRadRd",52.969914,-1.172082), new Waypoint("NoelStHyGreMar",52.966954,-1.169829), new Waypoint("For",52.965213,-1.167094), new Waypoint("HighSch",52.962182,-1.161268), new Waypoint("NotTreUni",52.957878,-1.154981), new Waypoint("RoyCen",52.955079,-1.151816), new Waypoint("OldMarSq",52.953061,-1.150104), new Waypoint("LaceMar",52.952836,-1.145518), new Waypoint("NotSta",52.94717,-1.145625), new Waypoint("+DIV_Ln2",52.944691,-1.148543), new Waypoint("MeaWayWest",52.943356,-1.156719), new Waypoint("NG2",52.941843,-1.165195), new Waypoint("GreSt",52.94386,-1.176803), new Waypoint("QueMedCen",52.942554,-1.18367), new Waypoint("UniNot",52.937214,-1.188283), new Waypoint("UniBlvd",52.932183,-1.202145), new Waypoint("MidSt",52.927824,-1.209054), new Waypoint("BeeCen",52.925327,-1.214762), new Waypoint("ChiRd",52.922598,-1.220341), new Waypoint("HighRdCenCol",52.921278,-1.223216), new Waypoint("CatLn",52.922611,-1.231241), new Waypoint("BraLn",52.921537,-1.236262), new Waypoint("EskDr",52.920295,-1.243086), new Waypoint("InhRd",52.919545,-1.25169), new Waypoint("TotLn",52.918432,-1.262269), new Waypoint("PhoPark",52.988873,-1.206651), new Waypoint("Cin",52.988951,-1.200557), new Waypoint("HigVale",52.989396,-1.189163), new Waypoint("DavLn",52.984908,-1.182055), new Waypoint("Bas",52.98162,-1.17837), new Waypoint("+X750928",52.977056,-1.176932), new Waypoint("+X751608",52.972676,-1.180344), new Waypoint("WilSt",52.971989,-1.178252), new Waypoint("ShiSt",52.971296,-1.174099), new Waypoint("BeaStRadRd",52.969914,-1.172082), new Waypoint("NoelStHyGreMar",52.966954,-1.169829), new Waypoint("For",52.965213,-1.167094), new Waypoint("HighSch",52.962182,-1.161268), new Waypoint("NotTreUni",52.957878,-1.154981), new Waypoint("RoyCen",52.955079,-1.151816), new Waypoint("OldMarSq",52.953061,-1.150104), new Waypoint("LaceMar",52.952836,-1.145518), new Waypoint("NotSta",52.94717,-1.145625), new Waypoint("+DIV_Ln1",52.944691,-1.148543), new Waypoint("QueWalk",52.942752,-1.150367), new Waypoint("MeaEmb",52.939086,-1.153704), new Waypoint("WilVil",52.935723,-1.155657), new Waypoint("WilLn",52.925926,-1.156172), new Waypoint("ComAcr",52.919076,-1.157513), new Waypoint("RudLn",52.91467,-1.158317), new Waypoint("SouDrNor",52.91071,-1.170419), new Waypoint("Riv",52.90688,-1.174743), new Waypoint("CliCen",52.903748,-1.176943), new Waypoint("HolyTri",52.897037,-1.181191), new Waypoint("SumLn",52.896945,-1.187832), new Waypoint("CliSou",52.896404,-1.193159) ]; traveler = 'northernkeys'; segments = [ 148694, 148695, 148696, 148697, 148698, 148699, 148700, 148701, 148702, 148703, 148704, 148705, 148706, 148707, 148708, 148709, 148710, 148711, 148712, 148713, 148714, 148715, 148716, 148717, 148718, 148719, 148720, 148721, 148722, 148723, 148724, 148725, 148726, 148727, 148728, 148729, 148730, 148731, 148732, 148733, 148734, 148735, 148736, 148737, 148738, 148739, 148740, 148741, 148742, 148743, 148744, 148745, 148746, 148747, 148748, 148749, 148750, 148751, 148752, 148753, 148754, 148755, 148756, 148757, 148758, 148759, 148760 ]; clinched = [ ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }