function waypointsFromSQL() { routeInfo[0] = { firstWaypoint: 0, root: "jam.a001", tier: 4, color: "TMbrown", system: "jama", label: "JAM A1" }; routeInfo[1] = { firstWaypoint: 87, root: "jam.a002", tier: 4, color: "TMbrown", system: "jama", label: "JAM A2" }; routeInfo[2] = { firstWaypoint: 143, root: "jam.a003", tier: 4, color: "TMbrown", system: "jama", label: "JAM A3" }; routeInfo[3] = { firstWaypoint: 170, root: "jam.a003mon", tier: 4, color: "TMbrown", system: "jama", label: "JAM A3Mon" }; routeInfo[4] = { firstWaypoint: 174, root: "jam.a004", tier: 4, color: "TMbrown", system: "jama", label: "JAM A4" }; waypoints = [ new Waypoint("A3/A4",17.971222,-76.792674), new Waypoint("MaxAve",17.985876,-76.811213), new Waypoint("MarGarDr",17.998183,-76.825118), new Waypoint("WasBlvd",18.025833,-76.854987), new Waypoint("T1",18.012896,-76.892581), new Waypoint("MunBlvd",18.010733,-76.895885), new Waypoint("T3_Cay",18.005795,-76.903117), new Waypoint("AndLn",17.996754,-76.915712), new Waypoint("TwiParkRd",17.997019,-76.930003), new Waypoint("SaltPondRd",17.986325,-76.94777), new Waypoint("A2_E",17.993264,-76.96588), new Waypoint("BruAve",18.016671,-76.97486), new Waypoint("T3_Ang",18.03932,-76.9803), new Waypoint("+X745971",18.067004,-76.984463), new Waypoint("B2",18.102007,-77.005384), new Waypoint("B13",18.14838,-77.029696), new Waypoint("T3_Lin",18.155558,-77.034974), new Waypoint("SpaTownRd",18.155109,-77.037635), new Waypoint("PleFarmRd",18.165793,-77.043772), new Waypoint("EwaLVRd",18.17674,-77.086645), new Waypoint("+X945537",18.218019,-77.098103), new Waypoint("+X830504",18.238767,-77.09497), new Waypoint("+X939979",18.255478,-77.117758), new Waypoint("T3_MonS",18.261672,-77.116942), new Waypoint("A3_Mon",18.277851,-77.113123), new Waypoint("*T3_Mon",18.279848,-77.121835), new Waypoint("+X404419",18.294232,-77.139645), new Waypoint("B11_E",18.321855,-77.147112), new Waypoint("T3_Gol",18.331042,-77.145717), new Waypoint("+X639442",18.346501,-77.159128), new Waypoint("PhiConRd_S",18.406492,-77.165737), new Waypoint("+X130797",18.407612,-77.156575), new Waypoint("PhiConRd_N",18.414717,-77.163119), new Waypoint("A3_Dra",18.42457,-77.174535), new Waypoint("MainSt",18.439818,-77.208116), new Waypoint("BackSt",18.467724,-77.297155), new Waypoint("B3",18.463042,-77.335382), new Waypoint("HopGarPkwy",18.461892,-77.395737), new Waypoint("+X615063",18.461292,-77.414217), new Waypoint("+X987445",18.478103,-77.435846), new Waypoint("QueCreDr",18.474837,-77.449547), new Waypoint("+X128556",18.462086,-77.454085), new Waypoint("B5",18.476292,-77.469406), new Waypoint("+X541471",18.476353,-77.487087), new Waypoint("+X674754",18.464508,-77.499447), new Waypoint("DunMainRd",18.467398,-77.524981), new Waypoint("+X576171",18.476231,-77.535367), new Waypoint("B10",18.47212,-77.546439), new Waypoint("+X709198",18.480586,-77.595491), new Waypoint("B1_W",18.480667,-77.632141), new Waypoint("B15_E",18.476516,-77.65892), new Waypoint("RodSt",18.485653,-77.68188), new Waypoint("GreAve",18.511456,-77.739108), new Waypoint("BotRd",18.518638,-77.8017), new Waypoint("SugRd",18.520388,-77.868712), new Waypoint("SunBlvd",18.494689,-77.917206), new Waypoint("GloAve",18.476516,-77.924502), new Waypoint("B15_W",18.471306,-77.924641), new Waypoint("SouCroBlvd",18.457913,-77.928021), new Waypoint("BarSt",18.453883,-77.920511), new Waypoint("BogWalRd",18.441629,-77.927012), new Waypoint("B8",18.444703,-77.94744), new Waypoint("BamDr",18.453924,-78.015161), new Waypoint("JasBlvd",18.451196,-78.073268), new Waypoint("+X315865",18.450545,-78.102708), new Waypoint("+X857015",18.442973,-78.107944), new Waypoint("+X258978",18.444113,-78.111935), new Waypoint("+X743301",18.452051,-78.111763), new Waypoint("+X895871",18.459867,-78.145452), new Waypoint("Kew",18.440693,-78.153841), new Waypoint("B9",18.436948,-78.168969), new Waypoint("CenAve",18.452296,-78.173604), new Waypoint("SpaHill",18.454209,-78.204396), new Waypoint("+X831793",18.431451,-78.240767), new Waypoint("+X896106",18.410828,-78.24935), new Waypoint("+X470713",18.411256,-78.25877), new Waypoint("GreIsl",18.388961,-78.274283), new Waypoint("+X781704",18.393868,-78.294282), new Waypoint("OraDr",18.364158,-78.30765), new Waypoint("+X163556",18.360309,-78.319087), new Waypoint("+X283442",18.369148,-78.320761), new Waypoint("+X299857",18.371673,-78.328915), new Waypoint("+X428931",18.357011,-78.342519), new Waypoint("+X398808",18.352245,-78.333421), new Waypoint("Neg",18.338965,-78.339118), new Waypoint("+X449883",18.303909,-78.336682), new Waypoint("A2_W",18.278666,-78.346553), new Waypoint("A1_E",17.993264,-76.96588), new Waypoint("FeaLn",17.986162,-76.994462), new Waypoint("T1_Gut",17.946237,-77.061024), new Waypoint("DarDr",17.93897,-77.112951), new Waypoint("T1_Fre",17.921576,-77.138261), new Waypoint("B12_E",17.91685,-77.144666), new Waypoint("WhaRd",17.936367,-77.172056), new Waypoint("TreRd",17.948524,-77.238457), new Waypoint("*T1_Den",17.953954,-77.25528), new Waypoint("B3",17.959628,-77.257662), new Waypoint("T1_MP",17.963966,-77.261417), new Waypoint("B12_W",17.972202,-77.360015), new Waypoint("OldPorRd_E",18.02873,-77.392673), new Waypoint("MtPleRd",18.033882,-77.393832), new Waypoint("OldPorRd_W",18.034403,-77.409239), new Waypoint("T1_Man",18.042829,-77.436061), new Waypoint("B4",18.069167,-77.467861), new Waypoint("NewGreRd",18.061476,-77.515497), new Waypoint("MarDr",18.051377,-77.529895), new Waypoint("GreRd",18.039687,-77.53011), new Waypoint("HopeClo",18.017436,-77.539401), new Waypoint("OldSTHRd",17.996979,-77.564077), new Waypoint("+X216676",18.018814,-77.583175), new Waypoint("+X675384",18.002897,-77.581201), new Waypoint("+X706224",18.00759,-77.588239), new Waypoint("AliPondRd",18.013427,-77.589612), new Waypoint("NewCasRd",18.059375,-77.65259), new Waypoint("GleDr",18.049419,-77.677331), new Waypoint("SydPagRd",18.052602,-77.691708), new Waypoint("WanRd",18.055131,-77.705956), new Waypoint("+X544524",18.07904,-77.739902), new Waypoint("LavMouRd",18.077041,-77.752476), new Waypoint("+X792904",18.113673,-77.811356), new Waypoint("RedGateRd",18.106902,-77.821012), new Waypoint("B7",18.1027,-77.834187), new Waypoint("BapWHRd",18.090707,-77.848306), new Waypoint("LuaSGRd_E",18.071859,-77.855215), new Waypoint("WestSt",18.03983,-77.855644), new Waypoint("LogAve",18.026057,-77.84822), new Waypoint("HighSt",18.023548,-77.849336), new Waypoint("+X623962",18.050969,-77.883024), new Waypoint("LuaSGRd_W",18.053499,-77.901392), new Waypoint("Cra",18.041952,-77.910683), new Waypoint("+X959900",18.052765,-77.9492), new Waypoint("Whi",18.090299,-77.966001), new Waypoint("+X185138",18.152091,-78.03237), new Waypoint("Blu",18.1662,-78.026705), new Waypoint("B8",18.227925,-78.071358), new Waypoint("+X163897",18.219242,-78.090434), new Waypoint("B9",18.226946,-78.132148), new Waypoint("+X343684",18.225601,-78.156266), new Waypoint("FroBlvd",18.240805,-78.201928), new Waypoint("NewHope",18.250852,-78.270099), new Waypoint("NHSheRd",18.277688,-78.303337), new Waypoint("ChuSt",18.27402,-78.312607), new Waypoint("A1_W",18.278666,-78.346553), new Waypoint("A1/A4",17.971222,-76.792674), new Waypoint("OldHopeRd",17.993836,-76.787996), new Waypoint("OxfRd",18.002504,-76.792068), new Waypoint("HopeRd",18.01008,-76.798296), new Waypoint("DunAve",18.024935,-76.796536), new Waypoint("OldSHRd",18.058212,-76.794884), new Waypoint("+X380133",18.065556,-76.785421), new Waypoint("SeaRd",18.082875,-76.79703), new Waypoint("+X923051",18.128641,-76.831684), new Waypoint("+X289299",18.201427,-76.822672), new Waypoint("+X744998",18.218508,-76.80778), new Waypoint("+X427907",18.229514,-76.816921), new Waypoint("A4_N",18.266481,-76.794112), new Waypoint("RobBayRd",18.279685,-76.809218), new Waypoint("B2",18.300669,-76.876016), new Waypoint("HighGate",18.306292,-76.883869), new Waypoint("BaiValeRd",18.35587,-76.899104), new Waypoint("MainSt",18.371714,-76.892838), new Waypoint("AmeAll",18.403784,-76.893375), new Waypoint("LibCasRd",18.411907,-76.936451), new Waypoint("B13",18.398144,-76.948071), new Waypoint("SprVlyDr",18.409872,-77.019374), new Waypoint("CreTer",18.422494,-77.044373), new Waypoint("A3Mon",18.405484,-77.105001), new Waypoint("T3",18.423207,-77.160094), new Waypoint("GreBlvd",18.426566,-77.165351), new Waypoint("A1_N",18.42457,-77.174535), new Waypoint("A1",18.277851,-77.113123), new Waypoint("+X782294",18.321163,-77.088189), new Waypoint("GrePondBlvd",18.395131,-77.094991), new Waypoint("A3",18.405484,-77.105001), new Waypoint("A1/A3",17.971222,-76.792674), new Waypoint("CampRd",17.970487,-76.782932), new Waypoint("MouViewAve",17.973319,-76.760144), new Waypoint("MicManBlvd",17.969406,-76.750917), new Waypoint("PalRd",17.949667,-76.720104), new Waypoint("LaneGateAve",17.938705,-76.647255), new Waypoint("MexBlvd",17.915757,-76.630411), new Waypoint("AlbBlvd",17.888907,-76.603675), new Waypoint("SouHavBlvd",17.879554,-76.58093), new Waypoint("+X588777",17.865463,-76.525526), new Waypoint("HamLn",17.873713,-76.46965), new Waypoint("DuhPen",17.877573,-76.42637), new Waypoint("ChuCor",17.885905,-76.419418), new Waypoint("ReefSt",17.869363,-76.343479), new Waypoint("BathRd",17.891847,-76.329832), new Waypoint("ArcMainRd",17.905426,-76.306593), new Waypoint("GolGro",17.934377,-76.270223), new Waypoint("Whe",17.951014,-76.268978), new Waypoint("+X587758",17.962404,-76.242886), new Waypoint("+X481481",18.031301,-76.277432), new Waypoint("+X194333",18.026567,-76.280565), new Waypoint("Mui",18.027649,-76.283762), new Waypoint("+X862589",18.042115,-76.27696), new Waypoint("FairProDr",18.119016,-76.323438), new Waypoint("+X321004",18.150338,-76.340647), new Waypoint("GobHill",18.173173,-76.388862), new Waypoint("+X182929",18.173071,-76.42283), new Waypoint("DolCir",18.182347,-76.423023), new Waypoint("SmaRd",18.176618,-76.447624), new Waypoint("ForRd_N",18.179472,-76.451325), new Waypoint("OCeBlvd",18.198451,-76.479821), new Waypoint("Bur",18.204047,-76.499326), new Waypoint("StMarBay",18.195649,-76.521406), new Waypoint("HopeBay",18.202701,-76.564579), new Waypoint("+X848688",18.206676,-76.593246), new Waypoint("OraBay",18.227578,-76.614447), new Waypoint("B1",18.233754,-76.660302), new Waypoint("WinCas",18.260714,-76.699977), new Waypoint("GibHeiRd",18.27347,-76.763749), new Waypoint("A3_N",18.266481,-76.794112) ]; traveler = ''; segments = [ 371248, 371249, 371250, 371251, 371252, 371253, 371254, 371255, 371256, 371257, 371258, 371259, 371260, 371261, 371262, 371263, 371264, 371265, 371266, 371267, 371268, 371269, 371270, 371271, 371272, 371273, 371274, 371275, 371276, 371277, 371278, 371279, 371280, 371281, 371282, 371283, 371284, 371285, 371286, 371287, 371288, 371289, 371290, 371291, 371292, 371293, 371294, 371295, 371296, 371297, 371298, 371299, 371300, 371301, 371302, 371303, 371304, 371305, 371306, 371307, 371308, 371309, 371310, 371311, 371312, 371313, 371314, 371315, 371316, 371317, 371318, 371319, 371320, 371321, 371322, 371323, 371324, 371325, 371326, 371327, 371328, 371329, 371330, 371331, 371332, 371333, 371334, 371335, 371336, 371337, 371338, 371339, 371340, 371341, 371342, 371343, 371344, 371345, 371346, 371347, 371348, 371349, 371350, 371351, 371352, 371353, 371354, 371355, 371356, 371357, 371358, 371359, 371360, 371361, 371362, 371363, 371364, 371365, 371366, 371367, 371368, 371369, 371370, 371371, 371372, 371373, 371374, 371375, 371376, 371377, 371378, 371379, 371380, 371381, 371382, 371383, 371384, 371385, 371386, 371387, 371388, 371389, 371390, 371391, 371392, 371393, 371394, 371395, 371396, 371397, 371398, 371399, 371400, 371401, 371402, 371403, 371404, 371405, 371406, 371407, 371408, 371409, 371410, 371411, 371412, 371413, 371414, 371415, 371416, 371417, 371418, 371419, 371420, 371421, 371422, 371423, 371424, 371425, 371426, 371427, 371428, 371429, 371430, 371431, 371432, 371433, 371434, 371435, 371436, 371437, 371438, 371439, 371440, 371441, 371442, 371443, 371444, 371445, 371446, 371447, 371448, 371449, 371450, 371451, 371452, 371453, 371454, 371455, 371456 ]; clinched = [ ]; mapClinched = true; mapStatus = mapStates.MAPVIEW; genEdges = true; }