function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "mus.a001", tier: 4, color: "TMlightsalmon", system: "musa", label: "MUS A1" }; routeInfo[1] = { firstWaypoint: 17, root: "mus.a002", tier: 4, color: "TMlightsalmon", system: "musa", label: "MUS A2" }; routeInfo[2] = { firstWaypoint: 47, root: "mus.a003", tier: 4, color: "TMlightsalmon", system: "musa", label: "MUS A3" }; routeInfo[3] = { firstWaypoint: 67, root: "mus.a004", tier: 4, color: "TMlightsalmon", system: "musa", label: "MUS A4" }; routeInfo[4] = { firstWaypoint: 84, root: "mus.a005", tier: 4, color: "TMlightsalmon", system: "musa", label: "MUS A5" }; routeInfo[5] = { firstWaypoint: 91, root: "mus.a005pam", tier: 4, color: "TMlightsalmon", system: "musa", label: "MUS A5Pam" }; routeInfo[6] = { firstWaypoint: 94, root: "mus.a006", tier: 4, color: "TMlightsalmon", system: "musa", label: "MUS A6" }; routeInfo[7] = { firstWaypoint: 100, root: "mus.a007", tier: 4, color: "TMlightsalmon", system: "musa", label: "MUS A7" }; routeInfo[8] = { firstWaypoint: 132, root: "mus.a008", tier: 4, color: "TMlightsalmon", system: "musa", label: "MUS A8" }; routeInfo[9] = { firstWaypoint: 136, root: "mus.a009", tier: 4, color: "TMlightsalmon", system: "musa", label: "MUS A9" }; routeInfo[10] = { firstWaypoint: 147, root: "mus.a010", tier: 4, color: "TMlightsalmon", system: "musa", label: "MUS A10" }; routeInfo[11] = { firstWaypoint: 169, root: "mus.a011", tier: 4, color: "TMlightsalmon", system: "musa", label: "MUS A11" }; routeInfo[12] = { firstWaypoint: 173, root: "mus.a012", tier: 4, color: "TMlightsalmon", system: "musa", label: "MUS A12" }; routeInfo[13] = { firstWaypoint: 179, root: "mus.a013", tier: 4, color: "TMlightsalmon", system: "musa", label: "MUS A13" }; routeInfo[14] = { firstWaypoint: 183, root: "mus.a014", tier: 4, color: "TMlightsalmon", system: "musa", label: "MUS A14" }; routeInfo[15] = { firstWaypoint: 186, root: "mus.a015", tier: 4, color: "TMlightsalmon", system: "musa", label: "MUS A15" }; routeInfo[16] = { firstWaypoint: 189, root: "mus.a016", tier: 4, color: "TMlightsalmon", system: "musa", label: "MUS A16" }; routeInfo[17] = { firstWaypoint: 194, root: "mus.a017", tier: 4, color: "TMlightsalmon", system: "musa", label: "MUS A17" }; routeInfo[18] = { firstWaypoint: 198, root: "mus.a018", tier: 4, color: "TMlightsalmon", system: "musa", label: "MUS A18" }; routeInfo[19] = { firstWaypoint: 201, root: "mus.a019", tier: 4, color: "TMlightsalmon", system: "musa", label: "MUS A19" }; waypoints = [ new Waypoint("A2",-20.161495,57.501524), new Waypoint("B137",-20.164839,57.496176), new Waypoint("MauSt",-20.165484,57.492206), new Waypoint("B93",-20.167588,57.486531), new Waypoint("B77",-20.174484,57.473313), new Waypoint("B31",-20.175826,57.471113), new Waypoint("A3",-20.18278,57.470126), new Waypoint("B107",-20.192709,57.469901), new Waypoint("A19",-20.208305,57.46989), new Waypoint("B106",-20.214145,57.469676), new Waypoint("A11_N",-20.227072,57.46783), new Waypoint("B76",-20.230298,57.467637), new Waypoint("A11_S",-20.243324,57.475855), new Waypoint("B1/B131",-20.24425,57.477036), new Waypoint("B75",-20.245494,57.478623), new Waypoint("B73",-20.247013,57.480683), new Waypoint("M1_S",-20.257094,57.488708), new Waypoint("M1/M2",-20.161135,57.501084), new Waypoint("A1",-20.161495,57.501524), new Waypoint("B32_W",-20.16248,57.50264), new Waypoint("EdgLauSt",-20.156587,57.508688), new Waypoint("MagSt",-20.156336,57.508927), new Waypoint("B30/B140",-20.152436,57.512945), new Waypoint("B32_E",-20.152045,57.514704), new Waypoint("CocRd",-20.14817,57.519854), new Waypoint("B141",-20.146627,57.523304), new Waypoint("B33",-20.143577,57.524221), new Waypoint("A4",-20.127077,57.532976), new Waypoint("B19",-20.126342,57.53944), new Waypoint("M3",-20.124562,57.547701), new Waypoint("B20_W",-20.12271,57.553269), new Waypoint("B159",-20.1192,57.557158), new Waypoint("B97",-20.114404,57.56042), new Waypoint("B18",-20.110873,57.573627), new Waypoint("A5",-20.110722,57.57742), new Waypoint("B168",-20.110874,57.57919), new Waypoint("A6",-20.117286,57.606423), new Waypoint("B20_E",-20.135129,57.610961), new Waypoint("B21",-20.135768,57.612849), new Waypoint("B49",-20.144605,57.620217), new Waypoint("B161",-20.155442,57.647696), new Waypoint("B23_W",-20.171695,57.658356), new Waypoint("B98",-20.174917,57.672209), new Waypoint("B153",-20.171156,57.685331), new Waypoint("B57",-20.169975,57.687962), new Waypoint("B22",-20.163963,57.700946), new Waypoint("B23_E",-20.178248,57.71918), new Waypoint("A1",-20.18278,57.470126), new Waypoint("B107",-20.186453,57.459623), new Waypoint("B78",-20.196631,57.445557), new Waypoint("A19",-20.203764,57.441663), new Waypoint("B106",-20.207223,57.440171), new Waypoint("B105",-20.222073,57.430344), new Waypoint("B101",-20.224273,57.429045), new Waypoint("B91",-20.257039,57.417866), new Waypoint("AveDra",-20.261316,57.407609), new Waypoint("B2",-20.277732,57.404745), new Waypoint("B34",-20.280494,57.404165), new Waypoint("CasRd",-20.291443,57.402156), new Waypoint("TamRd",-20.310129,57.402942), new Waypoint("BRYemRd",-20.315039,57.404251), new Waypoint("CarRd_N",-20.329949,57.373395), new Waypoint("AveVac",-20.332324,57.368953), new Waypoint("AveJil",-20.350942,57.364461), new Waypoint("CarRd_S",-20.355964,57.366636), new Waypoint("B114",-20.364408,57.379907), new Waypoint("B9",-20.367551,57.380111), new Waypoint("A2",-20.127077,57.532976), new Waypoint("M2_W",-20.126251,57.531989), new Waypoint("B29",-20.117014,57.532225), new Waypoint("B40",-20.109888,57.541446), new Waypoint("B11",-20.109437,57.541752), new Waypoint("B41",-20.101337,57.540979), new Waypoint("B18",-20.093755,57.542728), new Waypoint("A16_S",-20.089367,57.544276), new Waypoint("B39/B167",-20.080601,57.545314), new Waypoint("B35",-20.060466,57.551483), new Waypoint("B37",-20.057564,57.552223), new Waypoint("B36",-20.045848,57.555152), new Waypoint("A16_N",-20.042607,57.557781), new Waypoint("B13_E",-20.03661,57.564046), new Waypoint("M2_E",-20.024444,57.578573), new Waypoint("B45/B170",-20.021205,57.581888), new Waypoint("B13_W",-20.016442,57.578573), new Waypoint("M2",-20.052807,57.612906), new Waypoint("B12",-20.038051,57.623119), new Waypoint("A13_W",-20.03281,57.625222), new Waypoint("B121",-20.024706,57.63166), new Waypoint("B14",-20.031706,57.641873), new Waypoint("A13_E",-20.04929,57.664833), new Waypoint("B15/B16",-20.064228,57.681624), new Waypoint("A2",-20.110722,57.57742), new Waypoint("M2",-20.102828,57.580622), new Waypoint("B17",-20.075688,57.600567), new Waypoint("A2",-20.117286,57.606423), new Waypoint("B16/B17",-20.096511,57.63314), new Waypoint("B21",-20.115638,57.679194), new Waypoint("B122",-20.108611,57.692149), new Waypoint("B171",-20.108158,57.692782), new Waypoint("B15",-20.10035,57.702652), new Waypoint("B120",-20.232982,57.496919), new Waypoint("M1",-20.231587,57.500982), new Waypoint("A17_W",-20.230318,57.502911), new Waypoint("B46",-20.22613,57.507012), new Waypoint("B48",-20.224192,57.525927), new Waypoint("B47",-20.22423,57.535116), new Waypoint("B156",-20.224444,57.536505), new Waypoint("B49",-20.224937,57.538152), new Waypoint("A17_E",-20.228129,57.543876), new Waypoint("M3",-20.228773,57.545303), new Waypoint("B50",-20.232342,57.554026), new Waypoint("B51_W",-20.234717,57.569818), new Waypoint("B6_W",-20.245629,57.590203), new Waypoint("QuaMilRd",-20.246646,57.5931), new Waypoint("B51_E",-20.246369,57.599162), new Waypoint("B6/B24",-20.246274,57.604923), new Waypoint("B27",-20.249414,57.608914), new Waypoint("B109",-20.242006,57.638837), new Waypoint("B54",-20.243093,57.661743), new Waypoint("B111",-20.235817,57.674097), new Waypoint("B55",-20.230691,57.678866), new Waypoint("B25",-20.211764,57.705259), new Waypoint("B56",-20.209468,57.708907), new Waypoint("B28",-20.198871,57.721395), new Waypoint("B146",-20.195991,57.72264), new Waypoint("B119_S",-20.193625,57.722597), new Waypoint("B117",-20.192125,57.721299), new Waypoint("B61",-20.190564,57.722136), new Waypoint("B115",-20.188479,57.723176), new Waypoint("B119_N",-20.186627,57.724046), new Waypoint("B152",-20.179457,57.722865), new Waypoint("B23",-20.176224,57.722672), new Waypoint("M1",-20.257094,57.488708), new Waypoint("B127",-20.259082,57.484803), new Waypoint("B72",-20.266148,57.478784), new Waypoint("B2/B3",-20.270953,57.474933), new Waypoint("A10",-20.368954,57.563274), new Waypoint("B95",-20.384769,57.565548), new Waypoint("PontCol",-20.393876,57.566375), new Waypoint("B81",-20.404791,57.565098), new Waypoint("B88",-20.407527,57.560919), new Waypoint("B82",-20.429687,57.565774), new Waypoint("B90",-20.448975,57.566951), new Waypoint("B8",-20.487663,57.557014), new Waypoint("B133",-20.516994,57.530776), new Waypoint("AveVicSou",-20.518052,57.528051), new Waypoint("B9",-20.518991,57.522268), new Waypoint("M1_N",-20.277022,57.501047), new Waypoint("B126",-20.28149,57.502484), new Waypoint("B68",-20.284112,57.505488), new Waypoint("B4",-20.289632,57.51111), new Waypoint("B71/B74",-20.293858,57.518116), new Waypoint("B6",-20.306658,57.52553), new Waypoint("B63",-20.313942,57.523534), new Waypoint("B5",-20.314077,57.523481), new Waypoint("B70",-20.32837,57.529001), new Waypoint("B86",-20.343209,57.545705), new Waypoint("A9",-20.368954,57.563274), new Waypoint("M1_S",-20.379841,57.573037), new Waypoint("B83",-20.381516,57.575108), new Waypoint("B81",-20.396093,57.592), new Waypoint("B134",-20.399638,57.598003), new Waypoint("B7",-20.41231,57.618704), new Waypoint("B82",-20.41263,57.619096), new Waypoint("B79",-20.41911,57.626853), new Waypoint("Fai",-20.428385,57.640908), new Waypoint("M1_PMW",-20.426339,57.651358), new Waypoint("B8",-20.43211,57.660906), new Waypoint("M1_PME",-20.429657,57.666314), new Waypoint("A1_N",-20.227072,57.46783), new Waypoint("VicHugoSt",-20.230333,57.470137), new Waypoint("A14",-20.240488,57.47615), new Waypoint("A1_S",-20.243324,57.475855), new Waypoint("M1",-20.423846,57.659876), new Waypoint("A15",-20.420372,57.666314), new Waypoint("B67",-20.424167,57.699294), new Waypoint("ARMSt",-20.416923,57.704819), new Waypoint("B87",-20.408115,57.706048), new Waypoint("B7/B28",-20.405898,57.702411), new Waypoint("A5_W",-20.03281,57.625222), new Waypoint("GooBypRd",-20.039916,57.636187), new Waypoint("BPBRd",-20.049451,57.651036), new Waypoint("A5_E",-20.04929,57.664833), new Waypoint("M1/M3",-20.249163,57.493515), new Waypoint("B1",-20.24186,57.486112), new Waypoint("A11",-20.240488,57.47615), new Waypoint("A12",-20.420372,57.666314), new Waypoint("B7",-20.408241,57.673759), new Waypoint("B28",-20.386379,57.69629), new Waypoint("A4_S",-20.089367,57.544276), new Waypoint("B167",-20.080868,57.550163), new Waypoint("B37",-20.060602,57.559315), new Waypoint("B166",-20.045775,57.564164), new Waypoint("A4_N",-20.042607,57.557781), new Waypoint("A7_W",-20.230318,57.502911), new Waypoint("ToM1",-20.233298,57.50478), new Waypoint("B48",-20.230686,57.527558), new Waypoint("A7_E",-20.228129,57.543876), new Waypoint("B24_W",-20.236547,57.62776), new Waypoint("B109",-20.236384,57.640865), new Waypoint("B24_E",-20.231348,57.657682), new Waypoint("A1",-20.208305,57.46989), new Waypoint("B106_E",-20.208124,57.45517), new Waypoint("B106_W",-20.206714,57.449913), new Waypoint("A3",-20.203764,57.441663) ]; traveler = ''; segments = [ 393390, 393391, 393392, 393393, 393394, 393395, 393396, 393397, 393398, 393399, 393400, 393401, 393402, 393403, 393404, 393405, 393406, 393407, 393408, 393409, 393410, 393411, 393412, 393413, 393414, 393415, 393416, 393417, 393418, 393419, 393420, 393421, 393422, 393423, 393424, 393425, 393426, 393427, 393428, 393429, 393430, 393431, 393432, 393433, 393434, 393435, 393436, 393437, 393438, 393439, 393440, 393441, 393442, 393443, 393444, 393445, 393446, 393447, 393448, 393449, 393450, 393451, 393452, 393453, 393454, 393455, 393456, 393457, 393458, 393459, 393460, 393461, 393462, 393463, 393464, 393465, 393466, 393467, 393468, 393469, 393472, 393473, 393474, 393475, 393476, 393477, 393470, 393471, 393478, 393479, 393480, 393481, 393482, 393483, 393484, 393485, 393486, 393487, 393488, 393489, 393490, 393491, 393492, 393493, 393494, 393495, 393496, 393497, 393498, 393499, 393500, 393501, 393502, 393503, 393504, 393505, 393506, 393507, 393508, 393509, 393510, 393511, 393512, 393513, 393514, 393515, 393516, 393517, 393518, 393519, 393520, 393521, 393522, 393523, 393524, 393525, 393526, 393527, 393528, 393529, 393530, 393531, 393532, 393533, 393534, 393535, 393536, 393537, 393538, 393539, 393540, 393541, 393542, 393543, 393544, 393545, 393546, 393547, 393548, 393549, 393550, 393551, 393552, 393553, 393554, 393555, 393556, 393557, 393558, 393559, 393560, 393561, 393562, 393563, 393564, 393565, 393566, 393567, 393568, 393569, 393570, 393571, 393572, 393573, 393574 ]; clinched = [ ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }