function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "nh.me110", tier: 4, color: "TMbrown", system: "usame", label: "NH ME110" }; routeInfo[1] = { firstWaypoint: 2, root: "nh.me113cha", tier: 4, color: "TMbrown", system: "usame", label: "NH ME113Cha" }; routeInfo[2] = { firstWaypoint: 15, root: "nh.me113con", tier: 4, color: "TMbrown", system: "usame", label: "NH ME113Con" }; waypoints = [ new Waypoint("NH153",43.642058,-70.979823), new Waypoint("NH/ME",43.641875,-70.977087), new Waypoint("ME/NH",44.20086,-71.00575), new Waypoint("NH113B_N",44.201084,-71.00583), new Waypoint("BarRd",44.203985,-71.007273), new Waypoint("+x00001",44.215932,-71.007246), new Waypoint("DeerHillRd",44.225182,-71.010818), new Waypoint("+x00002",44.239162,-71.016473), new Waypoint("+x00003",44.24269,-71.016671), new Waypoint("StoHouRd",44.253372,-71.010577), new Waypoint("+x00004",44.256723,-71.008962), new Waypoint("+x00005",44.259109,-71.00886), new Waypoint("+x00006",44.261252,-71.011012), new Waypoint("ForRd",44.265432,-71.0104), new Waypoint("NH/ME",44.265808,-71.009413), new Waypoint("ME/NH",44.021694,-70.997826), new Waypoint("EConRd_S",44.023866,-71.004328), new Waypoint("+x00001",44.034272,-70.999205), new Waypoint("GreHillRd",44.036216,-70.999988), new Waypoint("NH/ME",44.037253,-70.998287) ]; traveler = 'froggie'; segments = [ 660293, 660357, 660358, 660359, 660360, 660361, 660362, 660363, 660364, 660365, 660366, 660367, 660368, 660346, 660347, 660348, 660349 ]; clinched = [ 660293, 660357, 660358, 660359, 660360, 660361, 660362, 660363, 660364, 660365, 660366, 660367, 660368, 660346, 660347, 660348, 660349 ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }