function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "svk.d001", tier: 1, color: "TMblue", system: "svkd", label: "SVK D1" }; routeInfo[1] = { firstWaypoint: 58, root: "svk.d001pop", tier: 1, color: "TMblue", system: "svkd", label: "SVK D1Pop" }; routeInfo[2] = { firstWaypoint: 103, root: "svk.d001vru", tier: 1, color: "TMblue", system: "svkd", label: "SVK D1Vru" }; routeInfo[3] = { firstWaypoint: 108, root: "svk.d002", tier: 1, color: "TMblue", system: "svkd", label: "SVK D2" }; routeInfo[4] = { firstWaypoint: 130, root: "svk.d003", tier: 1, color: "TMblue", system: "svkd", label: "SVK D3" }; routeInfo[5] = { firstWaypoint: 135, root: "svk.d003ska", tier: 1, color: "TMblue", system: "svkd", label: "SVK D3Ska" }; routeInfo[6] = { firstWaypoint: 142, root: "svk.d004", tier: 1, color: "TMblue", system: "svkd", label: "SVK D4" }; routeInfo[7] = { firstWaypoint: 156, root: "svk.d004stu", tier: 1, color: "TMblue", system: "svkd", label: "SVK D4Stu" }; waypoints = [ new Waypoint("0",48.126756,17.076144), new Waypoint("1",48.132055,17.094898), new Waypoint("+1A",48.131805,17.104812), new Waypoint("4",48.130988,17.129939), new Waypoint("6",48.141843,17.15204), new Waypoint("+X1",48.14301,17.175407), new Waypoint("8",48.149667,17.180858), new Waypoint("10",48.161155,17.182617), new Waypoint("11",48.170737,17.186007), new Waypoint("13",48.185646,17.201285), new Waypoint("14",48.19091,17.212014), new Waypoint("+15",48.200322,17.229438), new Waypoint("18",48.212592,17.261581), new Waypoint("+X3",48.219812,17.337456), new Waypoint("27",48.236365,17.366295), new Waypoint("31",48.246526,17.410412), new Waypoint("+X4",48.256684,17.443285), new Waypoint("+X5",48.290732,17.491264), new Waypoint("44",48.308132,17.559199), new Waypoint("50",48.337381,17.630224), new Waypoint("+X6",48.371133,17.719574), new Waypoint("+X7",48.401628,17.747383), new Waypoint("66",48.43817,17.739916), new Waypoint("68",48.458722,17.739573), new Waypoint("+X8",48.530589,17.781887), new Waypoint("83",48.590774,17.790213), new Waypoint("+X9",48.643742,17.820339), new Waypoint("91",48.649157,17.838964), new Waypoint("+X10",48.657577,17.865143), new Waypoint("95",48.673195,17.87304), new Waypoint("+X11",48.722849,17.874413), new Waypoint("+X12",48.747078,17.859993), new Waypoint("106",48.762158,17.867546), new Waypoint("+X13",48.819185,17.908401), new Waypoint("119",48.860353,17.957754), new Waypoint("124",48.90466,17.991142), new Waypoint("126",48.91088,18.011055), new Waypoint("+X14",48.914434,18.061352), new Waypoint("138",48.962765,18.137527), new Waypoint("145",48.999775,18.219795), new Waypoint("+X14A",49.019465,18.257303), new Waypoint("+X15",49.04265,18.277817), new Waypoint("153",49.045646,18.298631), new Waypoint("159",49.063304,18.340934), new Waypoint("+X16",49.063716,18.381586), new Waypoint("+X17",49.075651,18.414845), new Waypoint("165",49.092502,18.418837), new Waypoint("+X19",49.1069,18.4159), new Waypoint("169",49.12454,18.44663), new Waypoint("174",49.160246,18.472953), new Waypoint("+X102",49.179936,18.486385), new Waypoint("+X102A",49.186696,18.508186), new Waypoint("+X103",49.208206,18.531876), new Waypoint("183",49.211976,18.558054), new Waypoint("188",49.225593,18.608887), new Waypoint("+X715417",49.219882,18.659377), new Waypoint("+X664520",49.20885,18.665729), new Waypoint("199",49.177481,18.728428), new Waypoint("259",49.094426,19.426703), new Waypoint("+X201",49.097447,19.438419), new Waypoint("+X201A",49.089213,19.457302), new Waypoint("+X202",49.091349,19.52631), new Waypoint("272",49.074723,19.598279), new Waypoint("279",49.056601,19.68029), new Waypoint("+X204",49.053367,19.716597), new Waypoint("284",49.059498,19.746637), new Waypoint("+X205",49.050976,19.786119), new Waypoint("292",49.056088,19.854913), new Waypoint("297",49.070394,19.914823), new Waypoint("+X205A",49.0638,19.95512), new Waypoint("303",49.070893,19.98883), new Waypoint("310",49.065122,20.086827), new Waypoint("+X206",49.072263,20.115065), new Waypoint("315",49.064082,20.145793), new Waypoint("322",49.064904,20.246515), new Waypoint("325",49.073093,20.275698), new Waypoint("329",49.071645,20.326681), new Waypoint("+X302A",49.067877,20.348182), new Waypoint("+X303",49.050245,20.368481), new Waypoint("+X304",49.03663,20.427275), new Waypoint("341",49.013076,20.454654), new Waypoint("+X305",49.002689,20.48624), new Waypoint("350",49.004096,20.573702), new Waypoint("+X575478",49.009952,20.612068), new Waypoint("363",49.007108,20.704562), new Waypoint("368",49.008852,20.810605), new Waypoint("+X401",49.010261,20.859603), new Waypoint("+X402",48.995995,20.914857), new Waypoint("379",49.010782,20.9408), new Waypoint("382",49.021281,20.982298), new Waypoint("+X270975",49.026162,21.02191), new Waypoint("+X376652",48.997677,21.06431), new Waypoint("393",49.001063,21.105337), new Waypoint("+X501",49.007657,21.139369), new Waypoint("400",48.996269,21.202605), new Waypoint("407",48.949422,21.254768), new Waypoint("+X602",48.896268,21.248589), new Waypoint("418",48.857346,21.268587), new Waypoint("422",48.829992,21.30764), new Waypoint("427",48.789803,21.312919), new Waypoint("433",48.743201,21.337938), new Waypoint("+X979822",48.742125,21.375103), new Waypoint("441",48.723783,21.437674), new Waypoint("212",49.134048,18.893223), new Waypoint("215",49.108574,18.957424), new Waypoint("+X895228",49.099555,19.0242), new Waypoint("+X513166",49.115344,19.063769), new Waypoint("229",49.13197,19.070978), new Waypoint("CZE/SVK",48.686158,16.987224), new Waypoint("5",48.639105,17.001686), new Waypoint("+X1",48.604255,17.015333), new Waypoint("+X2",48.552467,17.011385), new Waypoint("+X2A",48.506768,17.031384), new Waypoint("29",48.428047,17.042241), new Waypoint("+X3",48.389888,17.024345), new Waypoint("41",48.326825,17.023745), new Waypoint("+X4",48.27074,17.00881), new Waypoint("50",48.249197,17.012844), new Waypoint("55",48.204441,17.040138), new Waypoint("58",48.185209,17.047863), new Waypoint("59",48.179812,17.057766), new Waypoint("61",48.153769,17.076445), new Waypoint("62",48.14675,17.076187), new Waypoint("65",48.126756,17.076144), new Waypoint("65A",48.123928,17.076466), new Waypoint("65B",48.116085,17.080608), new Waypoint("+X4A",48.099407,17.09713), new Waypoint("71",48.071928,17.101679), new Waypoint("+X5",48.052497,17.105971), new Waypoint("SVK/HUN",48.012966,17.175837), new Waypoint("1",49.225593,18.608887), new Waypoint("2",49.230833,18.622534), new Waypoint("+X01",49.255426,18.670921), new Waypoint("8",49.241779,18.691757), new Waypoint("12",49.245929,18.743062), new Waypoint("39",49.439873,18.797227), new Waypoint("42",49.463173,18.777394), new Waypoint("45",49.486137,18.788767), new Waypoint("+X553007",49.516628,18.861551), new Waypoint("+X192722",49.49935,18.91305), new Waypoint("58",49.504311,18.95339), new Waypoint("SVK/POL",49.508227,18.963068), new Waypoint("AUT/SVK",48.071047,17.072721), new Waypoint("2",48.071928,17.101679), new Waypoint("*Jar",48.071857,17.109468), new Waypoint("4",48.077136,17.130089), new Waypoint("9",48.090249,17.185847), new Waypoint("+X293172",48.093875,17.210512), new Waypoint("13",48.110282,17.224352), new Waypoint("+X709007",48.115361,17.24448), new Waypoint("18",48.131769,17.25081), new Waypoint("+X867824",48.166364,17.252183), new Waypoint("25",48.192605,17.236176), new Waypoint("+26",48.200322,17.229438), new Waypoint("27",48.212921,17.220383), new Waypoint("30",48.228539,17.194215), new Waypoint("I2",48.249769,17.034001), new Waypoint("44",48.249197,17.012844), new Waypoint("II505",48.245025,16.988125) ]; traveler = 'michih'; segments = [ 453834, 453835, 453836, 453837, 453838, 453839, 453840, 453841, 453842, 453843, 453844, 453845, 453846, 453847, 453848, 453849, 453850, 453851, 453852, 453853, 453854, 453855, 453856, 453857, 453858, 453859, 453860, 453861, 453862, 453863, 453864, 453865, 453866, 453867, 453868, 453869, 453870, 453871, 453872, 453873, 453874, 453875, 453876, 453877, 453878, 453879, 453880, 453881, 453882, 453883, 453884, 453885, 453886, 453887, 453888, 453889, 453890, 453895, 453896, 453897, 453898, 453899, 453900, 453901, 453902, 453903, 453904, 453905, 453906, 453907, 453908, 453909, 453910, 453911, 453912, 453913, 453914, 453915, 453916, 453917, 453918, 453919, 453920, 453921, 453922, 453923, 453924, 453925, 453926, 453927, 453928, 453929, 453930, 453931, 453932, 453933, 453934, 453935, 453936, 453937, 453938, 453891, 453892, 453893, 453894, 453939, 453940, 453941, 453942, 453943, 453944, 453945, 453946, 453947, 453948, 453949, 453950, 453951, 453952, 453953, 453954, 453955, 453956, 453957, 453958, 453959, 453960, 453961, 453962, 453963, 453964, 453965, 453966, 453967, 453968, 453969, 453970, 453971, 453972, 453973, 453974, 453975, 453976, 453977, 453978, 453979, 453980, 453981, 453982, 453983, 453984 ]; clinched = [ 453834, 453835, 453836, 453837, 453838, 453839, 453840, 453841, 453842, 453843, 453844, 453845, 453846, 453847, 453848, 453849, 453850, 453851, 453852, 453853, 453854, 453855, 453856, 453857, 453858, 453859, 453860, 453861, 453862, 453863, 453864, 453865, 453866, 453867, 453868, 453869, 453870, 453871, 453872, 453873, 453874, 453875, 453876, 453877, 453878, 453879, 453880, 453881, 453882, 453883, 453884, 453885, 453886, 453887, 453895, 453896, 453897, 453898, 453899, 453900, 453901, 453902, 453903, 453904, 453905, 453906, 453907, 453908, 453909, 453910, 453911, 453912, 453913, 453914, 453915, 453916, 453917, 453918, 453919, 453920, 453921, 453922, 453923, 453924, 453925, 453926, 453927, 453928, 453929, 453930, 453931, 453932, 453933, 453934, 453935, 453936, 453937, 453938, 453891, 453892, 453893, 453894, 453939, 453940, 453941, 453942, 453943, 453944, 453945, 453946, 453947, 453948, 453949, 453950, 453951, 453952, 453953, 453954, 453955, 453956, 453957, 453958, 453959, 453960, 453961, 453962, 453963, 453966, 453967, 453968, 453969, 453970, 453971, 453972, 453973, 453974, 453975, 453976, 453977, 453978, 453979, 453980, 453981, 453982, 453983, 453984 ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }