function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "reu.n001", tier: 4, color: "TMlightsalmon", system: "reun", label: "REU N1" }; routeInfo[1] = { firstWaypoint: 32, root: "reu.n001a", tier: 4, color: "TMlightsalmon", system: "reun", label: "REU N1A" }; routeInfo[2] = { firstWaypoint: 56, root: "reu.n002", tier: 4, color: "TMlightsalmon", system: "reun", label: "REU N2" }; routeInfo[3] = { firstWaypoint: 121, root: "reu.n002f", tier: 4, color: "TMlightsalmon", system: "reun", label: "REU N2F" }; routeInfo[4] = { firstWaypoint: 125, root: "reu.n003", tier: 4, color: "TMlightsalmon", system: "reun", label: "REU N3" }; routeInfo[5] = { firstWaypoint: 149, root: "reu.n003b", tier: 4, color: "TMlightsalmon", system: "reun", label: "REU N3B" }; routeInfo[6] = { firstWaypoint: 152, root: "reu.n004a", tier: 4, color: "TMlightsalmon", system: "reun", label: "REU N4A" }; routeInfo[7] = { firstWaypoint: 155, root: "reu.n005", tier: 4, color: "TMlightsalmon", system: "reun", label: "REU N5" }; routeInfo[8] = { firstWaypoint: 170, root: "reu.n006", tier: 4, color: "TMlightsalmon", system: "reun", label: "REU N6" }; routeInfo[9] = { firstWaypoint: 183, root: "reu.n007", tier: 4, color: "TMlightsalmon", system: "reun", label: "REU N7" }; routeInfo[10] = { firstWaypoint: 187, root: "reu.n1001", tier: 4, color: "TMlightsalmon", system: "reun", label: "REU N1001" }; routeInfo[11] = { firstWaypoint: 190, root: "reu.n1002", tier: 4, color: "TMlightsalmon", system: "reun", label: "REU N1002" }; routeInfo[12] = { firstWaypoint: 195, root: "reu.n102", tier: 4, color: "TMlightsalmon", system: "reun", label: "REU N102" }; waypoints = [ new Waypoint("N2",-20.873769,55.446743), new Waypoint("D41_E",-20.876767,55.44214), new Waypoint("N6",-20.876616,55.436325), new Waypoint("+X906720",-20.874546,55.42183), new Waypoint("+X01",-20.881789,55.395513), new Waypoint("GraCha",-20.896631,55.375562), new Waypoint("D41_W",-20.922897,55.343993), new Waypoint("RouCim",-20.929376,55.331569), new Waypoint("N1001",-20.945409,55.324831), new Waypoint("N7_N",-20.955789,55.311656), new Waypoint("N7_S",-20.971097,55.298781), new Waypoint("D4",-20.987406,55.290627), new Waypoint("N1A_N",-21.009723,55.276551), new Waypoint("+X511047",-21.014915,55.270618), new Waypoint("D6",-21.021731,55.256284), new Waypoint("D10",-21.040157,55.248844), new Waypoint("D100",-21.067922,55.248613), new Waypoint("ToD9",-21.100957,55.267582), new Waypoint("D12",-21.140709,55.285478), new Waypoint("+X02",-21.166564,55.298395), new Waypoint("D11",-21.199897,55.293889), new Waypoint("LaPla",-21.217101,55.297194), new Waypoint("N1A_S",-21.263181,55.338693), new Waypoint("RueOctBer",-21.280677,55.346997), new Waypoint("AveMicDeb",-21.281197,55.377445), new Waypoint("AveRayVer",-21.284736,55.394869), new Waypoint("N5",-21.292173,55.409245), new Waypoint("RueAFL",-21.298146,55.418837), new Waypoint("D26",-21.305008,55.428493), new Waypoint("ZI34",-21.317477,55.444125), new Waypoint("RueFou",-21.327144,55.450224), new Waypoint("N3",-21.331814,55.45759), new Waypoint("N1_N",-21.009723,55.276551), new Waypoint("D5",-21.010148,55.275178), new Waypoint("D6",-21.012036,55.27249), new Waypoint("RueBaie",-21.014815,55.261713), new Waypoint("+X01",-21.019037,55.235395), new Waypoint("RueBouCan",-21.029993,55.22612), new Waypoint("D10",-21.038044,55.219045), new Waypoint("RueGenGal_N",-21.046976,55.22222), new Waypoint("CheCar",-21.053474,55.229344), new Waypoint("RueGenGal_S",-21.061244,55.22339), new Waypoint("D100",-21.074849,55.227885), new Waypoint("RouTrouEau",-21.102878,55.24783), new Waypoint("D9",-21.123136,55.263961), new Waypoint("D12",-21.151981,55.279824), new Waypoint("D130",-21.160636,55.287371), new Waypoint("RueHau_N",-21.164958,55.287516), new Waypoint("D22",-21.174838,55.28779), new Waypoint("RueHau_S",-21.178975,55.288551), new Waypoint("D11",-21.185507,55.287189), new Waypoint("PoiSelBas",-21.200547,55.284719), new Waypoint("CheBoisNef",-21.232257,55.297349), new Waypoint("ChePave",-21.250977,55.322353), new Waypoint("AveBou",-21.26518,55.33659), new Waypoint("N1_S",-21.263181,55.338693), new Waypoint("N1",-20.873769,55.446743), new Waypoint("RuePas",-20.877333,55.456377), new Waypoint("BoulOce",-20.878782,55.458319), new Waypoint("AllBon",-20.880085,55.460379), new Waypoint("RueBut",-20.883779,55.465904), new Waypoint("D44",-20.885528,55.472803), new Waypoint("N102_W",-20.886741,55.489411), new Waypoint("SenLitNord",-20.893457,55.501857), new Waypoint("N6/N102",-20.897105,55.510612), new Waypoint("RueMarGou",-20.898468,55.520182), new Waypoint("D62",-20.902738,55.543184), new Waypoint("D51_W",-20.901495,55.559406), new Waypoint("RueGenGal",-20.898007,55.573096), new Waypoint("RueMLK",-20.898177,55.577538), new Waypoint("AvePMF",-20.902427,55.595648), new Waypoint("D51_E",-20.905905,55.599639), new Waypoint("D63",-20.916027,55.618823), new Waypoint("+X185976",-20.920928,55.626161), new Waypoint("D47_W",-20.931721,55.633821), new Waypoint("AveMas",-20.942423,55.64749), new Waypoint("CheLag",-20.952928,55.656266), new Waypoint("D47_E",-20.962441,55.657876), new Waypoint("D48",-20.969014,55.655944), new Waypoint("D48.1",-20.990612,55.66294), new Waypoint("RueLim",-21.00209,55.676136), new Waypoint("CheFurPit",-21.01431,55.692208), new Waypoint("RouBouBas",-21.027749,55.703977), new Waypoint("RueHubLis",-21.035761,55.706692), new Waypoint("AveFraMit",-21.039866,55.710039), new Waypoint("D54",-21.041303,55.714921), new Waypoint("N3_N",-21.047617,55.717206), new Waypoint("RouBut",-21.053134,55.726089), new Waypoint("CheCap",-21.0687,55.735525), new Waypoint("D56",-21.081317,55.746195), new Waypoint("D3_N",-21.117331,55.750015), new Waypoint("+X01",-21.124217,55.747547), new Waypoint("D57_N",-21.120974,55.75995), new Waypoint("AveNelMan",-21.128255,55.793992), new Waypoint("CheBad",-21.138547,55.807843), new Waypoint("D57E",-21.153567,55.822113), new Waypoint("CheAlf",-21.164913,55.824752), new Waypoint("D57_S",-21.189744,55.822305), new Waypoint("+X02",-21.234382,55.799518), new Waypoint("RF33",-21.272539,55.795226), new Waypoint("RF34",-21.340249,55.799067), new Waypoint("CheCen",-21.359514,55.766516), new Waypoint("RF4",-21.367722,55.743213), new Waypoint("RF36",-21.371187,55.718402), new Waypoint("D37",-21.372124,55.684955), new Waypoint("D34",-21.371404,55.670578), new Waypoint("ImpDig",-21.381835,55.645688), new Waypoint("D33",-21.377589,55.619842), new Waypoint("D3_S",-21.3766,55.615325), new Waypoint("N1002",-21.374239,55.598218), new Waypoint("D30/D32",-21.370095,55.580778), new Waypoint("D31",-21.367742,55.568107), new Waypoint("D30_W",-21.364985,55.552411), new Waypoint("RueJuj",-21.362722,55.538968), new Waypoint("CF2",-21.353714,55.516169), new Waypoint("D29",-21.353014,55.509796), new Waypoint("AvePreMit",-21.348348,55.501524), new Waypoint("RueLyc",-21.341348,55.494432), new Waypoint("AllAub",-21.335492,55.487866), new Waypoint("N3B",-21.332009,55.478951), new Waypoint("N3_S",-21.329206,55.47129), new Waypoint("D62",-20.896644,55.543807), new Waypoint("RueGenGau_W",-20.895446,55.551778), new Waypoint("D51",-20.897,55.557539), new Waypoint("RueGenGau_E",-20.896564,55.560544), new Waypoint("RouBut",-21.039603,55.721916), new Waypoint("AveJeanJau",-21.041136,55.720972), new Waypoint("N2_N",-21.047617,55.717206), new Waypoint("D3_N",-21.080296,55.691285), new Waypoint("D55_E",-21.143095,55.620378), new Waypoint("D55_W",-21.156256,55.602499), new Waypoint("+X01",-21.167764,55.586057), new Waypoint("RueDor",-21.203125,55.573627), new Waypoint("D36",-21.220716,55.559959), new Waypoint("D70",-21.220451,55.553248), new Waypoint("RueTheMor",-21.231007,55.550716), new Waypoint("D27",-21.250595,55.521029), new Waypoint("D71",-21.259689,55.52288), new Waypoint("RueRep",-21.278941,55.525063), new Waypoint("D3_S",-21.283349,55.520463), new Waypoint("RuePar",-21.285635,55.515461), new Waypoint("D400",-21.289592,55.514399), new Waypoint("D28",-21.307287,55.498853), new Waypoint("N3b",-21.321405,55.488349), new Waypoint("D38",-21.323009,55.485452), new Waypoint("CheSal",-21.324138,55.475227), new Waypoint("N2_S",-21.329206,55.47129), new Waypoint("AveLucDon",-21.333158,55.460669), new Waypoint("N1",-21.331814,55.45759), new Waypoint("N3",-21.321405,55.488349), new Waypoint("D38",-21.324164,55.486729), new Waypoint("N2",-21.332009,55.478951), new Waypoint("N7",-20.949985,55.301944), new Waypoint("N1001",-20.940406,55.30771), new Waypoint("AveTam",-20.930488,55.308362), new Waypoint("N1",-21.292173,55.409245), new Waypoint("AveRayVer",-21.289609,55.412067), new Waypoint("RuePas",-21.285736,55.42006), new Waypoint("D21B",-21.274294,55.437924), new Waypoint("D21_N",-21.271227,55.440118), new Waypoint("D21_S",-21.271412,55.440665), new Waypoint("D3_S",-21.269565,55.448567), new Waypoint("D3_N",-21.269935,55.451195), new Waypoint("CheAlo",-21.263381,55.459306), new Waypoint("CheCas",-21.214853,55.454478), new Waypoint("+X01",-21.184932,55.450466), new Waypoint("D240",-21.170171,55.467793), new Waypoint("D241_S",-21.155058,55.475335), new Waypoint("CheAig",-21.150895,55.465658), new Waypoint("D241_N",-21.133143,55.471988), new Waypoint("N1",-20.876616,55.436325), new Waypoint("D41",-20.88623,55.440059), new Waypoint("D42",-20.88852,55.445949), new Waypoint("D43",-20.890665,55.455004), new Waypoint("RueLeonDie",-20.89083,55.457922), new Waypoint("BouVau",-20.889863,55.463877), new Waypoint("RouDig",-20.893552,55.47055), new Waypoint("RueStaGim",-20.897386,55.47541), new Waypoint("D60",-20.900904,55.492168), new Waypoint("RueVicSch",-20.900876,55.496686), new Waypoint("CheGraCan",-20.902327,55.499175), new Waypoint("N102_W",-20.902277,55.50293), new Waypoint("N2/N102",-20.897105,55.510612), new Waypoint("N1_N",-20.955789,55.311656), new Waypoint("N4A",-20.949985,55.301944), new Waypoint("AveGeoPol",-20.952658,55.294484), new Waypoint("N1_S",-20.971097,55.298781), new Waypoint("N4A",-20.940406,55.30771), new Waypoint("N1",-20.945409,55.324831), new Waypoint("RueLecLis",-20.945529,55.327964), new Waypoint("N2",-21.374239,55.598218), new Waypoint("D3_N",-21.37326,55.614), new Waypoint("D3_S",-21.373645,55.614982), new Waypoint("D33",-21.372716,55.6204), new Waypoint("RueJeanAlb",-21.371129,55.630968), new Waypoint("N2",-20.886741,55.489411), new Waypoint("RueRogPay",-20.892374,55.491439), new Waypoint("D44",-20.898849,55.496557), new Waypoint("RueVicSch",-20.899596,55.497694), new Waypoint("N6",-20.902277,55.50293), new Waypoint("D45_W",-20.904928,55.504169), new Waypoint("D45_E",-20.904692,55.506921), new Waypoint("N2/N6",-20.897105,55.510612), new Waypoint("RueGeoGuy",-20.892795,55.511878) ]; traveler = ''; segments = [ 268234, 268235, 268236, 268237, 268238, 268239, 268240, 268241, 268242, 268243, 268244, 268245, 268246, 268247, 268248, 268249, 268250, 268251, 268252, 268253, 268254, 268255, 268256, 268257, 268258, 268259, 268260, 268261, 268262, 268263, 268264, 268265, 268266, 268267, 268268, 268269, 268270, 268271, 268272, 268273, 268274, 268275, 268276, 268277, 268278, 268279, 268280, 268281, 268282, 268283, 268284, 268285, 268286, 268287, 268288, 268289, 268290, 268291, 268292, 268293, 268294, 268295, 268296, 268297, 268298, 268299, 268300, 268301, 268302, 268303, 268304, 268305, 268306, 268307, 268308, 268309, 268310, 268311, 268312, 268313, 268314, 268315, 268316, 268317, 268318, 268319, 268320, 268321, 268322, 268323, 268324, 268325, 268326, 268327, 268328, 268329, 268330, 268331, 268332, 268333, 268334, 268335, 268336, 268337, 268338, 268339, 268340, 268341, 268342, 268343, 268344, 268345, 268346, 268347, 268348, 268349, 268350, 268351, 268352, 268353, 268354, 268355, 268356, 268357, 268358, 268359, 268360, 268361, 268362, 268363, 268364, 268365, 268366, 268367, 268368, 268369, 268370, 268371, 268372, 268373, 268374, 268375, 268376, 268377, 268378, 268379, 268380, 268381, 268382, 268383, 268384, 268385, 268386, 268387, 268388, 268389, 268390, 268391, 268392, 268393, 268394, 268395, 268396, 268397, 268398, 268399, 268400, 268401, 268402, 268403, 268404, 268405, 268406, 268407, 268408, 268409, 268410, 268419, 268420, 268421, 268422, 268423, 268424, 268411, 268412, 268413, 268414, 268415, 268416, 268417, 268418 ]; clinched = [ ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }