{"theJson":"var af = null;\nvar el = null;\nvar p = null;\nvar m = null;\nvar gj = null;\nvar counter = 0;\nvar bearing = 0;\n\nvar trackNav = '\/img\/navigation.png';\nvar trackDot = '\/img\/dot-black.gif';\nvar currentStyle = map.getStyle();\n\nif (currentStyle !== undefined && currentStyle != null && JSON.stringify(currentStyle).indexOf(\"satellite-\") != -1) {\n trackNav = '\/img\/navigation-yellow.png';\n trackDot = '\/img\/dot-yellow.gif';\n}\n\nvar picList = $('#trip-pics-list');\npicList.html('
<\/i><\/p>
Loading Previews...<\/p>');\nvar plHtml = '';\n\n gj = {\"type\":\"Feature\",\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[\"-94.18088\",\"36.13600\",335],[\"-94.18088\",\"36.13600\",0],[\"-94.18076\",\"36.13635\",344],[\"-94.18088\",\"36.13626\",368],[\"-94.18088\",\"36.13630\",353],[\"-94.18073\",\"36.13641\",326],[\"-94.18094\",\"36.13618\",350],[\"-94.18035\",\"36.13651\",350],[\"-94.19687\",\"36.17566\",398],[\"-94.23593\",\"36.17651\",392],[\"-94.31592\",\"36.17435\",341],[\"-94.41391\",\"36.16812\",308],[\"-94.49621\",\"36.18079\",356],[\"-94.54132\",\"36.17245\",353],[\"-94.60822\",\"36.17965\",341],[\"-94.70623\",\"36.18592\",266],[\"-94.80150\",\"36.21589\",344],[\"-94.91146\",\"36.21368\",323],[\"-95.02417\",\"36.21286\",290],[\"-95.12726\",\"36.19203\",263],[\"-95.24225\",\"36.17120\",191],[\"-95.33188\",\"36.16822\",200],[\"-95.42899\",\"36.17088\",194],[\"-95.53156\",\"36.16953\",188],[\"-95.63367\",\"36.16473\",176],[\"-95.73746\",\"36.16319\",194],[\"-95.79544\",\"36.16373\",230],[\"-95.79541\",\"36.16386\",212],[\"-95.87164\",\"36.16417\",188],[\"-95.97180\",\"36.15929\",215],[\"-96.06610\",\"36.15187\",200],[\"-96.16595\",\"36.15375\",230],[\"-96.26871\",\"36.18441\",230],[\"-96.35056\",\"36.21663\",239],[\"-96.46115\",\"36.22002\",278],[\"-96.57114\",\"36.22110\",284],[\"-96.68079\",\"36.22511\",278],[\"-96.79163\",\"36.22494\",320],[\"-96.90573\",\"36.22777\",302],[\"-96.98314\",\"36.28791\",275],[\"-97.03673\",\"36.36935\",284],[\"-97.14581\",\"36.39215\",308],[\"-97.26157\",\"36.40237\",284],[\"-97.32697\",\"36.44014\",257],[\"-97.34192\",\"36.53546\",272],[\"-97.34070\",\"36.53463\",308],[\"-97.34081\",\"36.53477\",260],[\"-97.34070\",\"36.53490\",272],[\"-97.34157\",\"36.53567\",287],[\"-97.34576\",\"36.61982\",281],[\"-97.34578\",\"36.71295\",299],[\"-97.34305\",\"36.80561\",317],[\"-97.35400\",\"36.89884\",314],[\"-97.34475\",\"36.99051\",338],[\"-97.33850\",\"37.09459\",356],[\"-97.33938\",\"37.17076\",380],[\"-97.33926\",\"37.26233\",374],[\"-97.39422\",\"37.27493\",386],[\"-97.44229\",\"37.26623\",449],[\"-97.54700\",\"37.27211\",407],[\"-97.63827\",\"37.27988\",380],[\"-97.63909\",\"37.36569\",0],[\"-97.64218\",\"37.41427\",407],[\"-97.64285\",\"37.48741\",407],[\"-97.64333\",\"37.55365\",401],[\"-97.64322\",\"37.62173\",413],[\"-97.68103\",\"37.67006\",488],[\"-97.77872\",\"37.66918\",419],[\"-97.88751\",\"37.66854\",443],[\"-97.93500\",\"37.66956\",437],[\"-97.95825\",\"37.66912\",446],[\"-98.06366\",\"37.66635\",485],[\"-98.10818\",\"37.64633\",470],[\"-98.10834\",\"37.64632\",461],[\"-98.10831\",\"37.64629\",470],[\"-98.11306\",\"37.64450\",455],[\"-98.11313\",\"37.64448\",470],[\"-98.11319\",\"37.64449\",470],[\"-98.11301\",\"37.64443\",0],[\"-98.11319\",\"37.64480\",500],[\"-98.17334\",\"37.64661\",476],[\"-98.28061\",\"37.64563\",464],[\"-98.38605\",\"37.64455\",494],[\"-98.47748\",\"37.64593\",527],[\"-98.58535\",\"37.64639\",539],[\"-98.69382\",\"37.64551\",560],[\"-98.75439\",\"37.64457\",587],[\"-98.85165\",\"37.63894\",608],[\"-98.95300\",\"37.62717\",629],[\"-99.05481\",\"37.61790\",647],[\"-99.16400\",\"37.61093\",662],[\"-99.26282\",\"37.60854\",671],[\"-99.33560\",\"37.60475\",683],[\"-99.42859\",\"37.58640\",698],[\"-99.51764\",\"37.58622\",710],[\"-99.61734\",\"37.58635\",731],[\"-99.70755\",\"37.60572\",740],[\"-99.75140\",\"37.65968\",719],[\"-99.83676\",\"37.69670\",728],[\"-99.92648\",\"37.72968\",743],[\"-99.93073\",\"37.73236\",752],[\"-99.93164\",\"37.73217\",749],[\"-99.95377\",\"37.73811\",746],[\"-99.99187\",\"37.74769\",752],[\"-100.03220\",\"37.75368\",752],[\"-100.05600\",\"37.75550\",779],[\"-100.05606\",\"37.75544\",764],[\"-100.05606\",\"37.75552\",770],[\"-100.05621\",\"37.75588\",761],[\"-100.05569\",\"37.75527\",725],[\"-100.05544\",\"37.75546\",0],[\"-100.02325\",\"37.75331\",764],[\"-100.01642\",\"37.75275\",755],[\"-100.01669\",\"37.75267\",761],[\"-100.01669\",\"37.75229\",749],[\"-100.05600\",\"37.75496\",0],[\"-100.05643\",\"37.75578\",755],[\"-100.05617\",\"37.75580\",0],[\"-100.05600\",\"37.75571\",770],[\"-100.05597\",\"37.75525\",722],[\"-100.05600\",\"37.75533\",713],[\"-100.05612\",\"37.75532\",725],[\"-100.03290\",\"37.75346\",740],[\"-100.01639\",\"37.75274\",737],[\"-100.01645\",\"37.75280\",749],[\"-100.01639\",\"37.75274\",0],[\"-100.03247\",\"37.75346\",740],[\"-100.09836\",\"37.76107\",752],[\"-100.19894\",\"37.78935\",770],[\"-100.31039\",\"37.80233\",776],[\"-100.38559\",\"37.80893\",788],[\"-100.47885\",\"37.85423\",839],[\"-100.56555\",\"37.86472\",821],[\"-100.67499\",\"37.88306\",836],[\"-100.68661\",\"37.82891\",863],[\"-100.68930\",\"37.75106\",863],[\"-100.79672\",\"37.75120\",878],[\"-100.87134\",\"37.72398\",908],[\"-100.87042\",\"37.63434\",920],[\"-100.86972\",\"37.54511\",905],[\"-100.87085\",\"37.47750\",908],[\"-100.96793\",\"37.44691\",917],[\"-101.03388\",\"37.40057\",0],[\"-101.13885\",\"37.36044\",908],[\"-101.21634\",\"37.31845\",923],[\"-101.28253\",\"37.25373\",938],[\"-101.34821\",\"37.18653\",941],[\"-101.40826\",\"37.16927\",953],[\"-101.51863\",\"37.14579\",0],[\"-101.62798\",\"37.12223\",0],[\"-101.72626\",\"37.09142\",1034],[\"-101.82617\",\"37.04856\",0],[\"-101.89758\",\"36.99526\",1097],[\"-101.97473\",\"36.93769\",1133],[\"-102.07486\",\"36.89188\",1142],[\"-102.18774\",\"36.84101\",1181],[\"-102.26184\",\"36.80701\",1202],[\"-102.36496\",\"36.76987\",1226],[\"-102.46872\",\"36.73268\",1253],[\"-102.51300\",\"36.73009\",1265],[\"-102.57037\",\"36.68993\",0],[\"-102.66830\",\"36.64032\",1316],[\"-102.75128\",\"36.57589\",1349],[\"-102.85889\",\"36.55504\",1385],[\"-102.97147\",\"36.53010\",1442],[\"-103.06302\",\"36.48648\",1442],[\"-103.15417\",\"36.46183\",1508],[\"-103.17944\",\"36.44356\",1538],[\"-103.18954\",\"36.45055\",1544],[\"-103.27338\",\"36.41104\",1571],[\"-103.37177\",\"36.38018\",1586],[\"-103.46977\",\"36.35339\",0],[\"-103.50659\",\"36.33880\",1670],[\"-103.54514\",\"36.32335\",1688],[\"-103.65292\",\"36.31948\",1775],[\"-103.75610\",\"36.30119\",1769],[\"-103.86478\",\"36.30472\",1775],[\"-103.97385\",\"36.30490\",1799],[\"-104.07608\",\"36.30517\",1850],[\"-104.19408\",\"36.30540\",1925],[\"-104.29718\",\"36.30568\",1877],[\"-104.40805\",\"36.31705\",1802],[\"-104.51591\",\"36.33576\",1763],[\"-104.59567\",\"36.36121\",1769],[\"-104.59485\",\"36.36131\",1739],[\"-104.60771\",\"36.35203\",1775],[\"-104.64824\",\"36.24826\",0],[\"-104.67245\",\"36.17530\",1841],[\"-104.68892\",\"36.08351\",1904],[\"-104.72195\",\"35.99762\",1895],[\"-104.80070\",\"35.92818\",1955],[\"-104.89635\",\"35.86105\",2006],[\"-104.97620\",\"35.81443\",1985],[\"-105.03938\",\"35.73800\",2012],[\"-105.13672\",\"35.68895\",2039],[\"-105.20454\",\"35.62513\",0],[\"-105.21184\",\"35.60286\",0],[\"-105.21184\",\"35.60273\",1964],[\"-105.21173\",\"35.60302\",2003],[\"-105.21175\",\"35.60292\",1946],[\"-105.21121\",\"35.59611\",1940],[\"-105.23000\",\"35.53528\",1916],[\"-105.27829\",\"35.45543\",1898],[\"-105.34833\",\"35.39230\",1928],[\"-105.46278\",\"35.39738\",1856],[\"-105.56920\",\"35.42446\",1970],[\"-105.66371\",\"35.47839\",2063],[\"-105.72169\",\"35.55443\",2144],[\"-105.79883\",\"35.57045\",0],[\"-105.88075\",\"35.55793\",2150],[\"-105.92938\",\"35.63868\",2162],[\"-105.94986\",\"35.65772\",0],[\"-105.94548\",\"35.67248\",2135],[\"-105.94106\",\"35.68744\",0],[\"-105.94106\",\"35.68744\",0],[\"-105.94106\",\"35.68753\",2177],[\"-105.95044\",\"35.67961\",0],[\"-105.98700\",\"35.65777\",2054],[\"-106.00711\",\"35.64647\",0],[\"-106.00737\",\"35.64630\",0],[\"-106.00746\",\"35.64664\",2030],[\"-106.00745\",\"35.64669\",2012],[\"-106.00745\",\"35.64669\",0],[\"-106.00745\",\"35.64662\",1985],[\"-106.00735\",\"35.64663\",1994],[\"-106.00746\",\"35.64661\",2036],[\"-106.01907\",\"35.63619\",1994],[\"-106.01375\",\"35.61521\",1985],[\"-105.91982\",\"35.62180\",2189],[\"-105.88220\",\"35.54853\",2159],[\"-105.90814\",\"35.48196\",2000],[\"-105.86522\",\"35.40862\",1892],[\"-105.83250\",\"35.32520\",1982],[\"-105.80544\",\"35.24233\",0],[\"-105.75772\",\"35.16204\",2081],[\"-105.70590\",\"35.08328\",0],[\"-105.66187\",\"35.00410\",2159],[\"-105.61549\",\"34.91988\",2102],[\"-105.57516\",\"34.82468\",2027],[\"-105.53060\",\"34.74882\",0],[\"-105.48253\",\"34.66659\",1925],[\"-105.46240\",\"34.60037\",1904],[\"-105.45370\",\"34.51919\",1994],[\"-105.39597\",\"34.46958\",1958],[\"-105.45918\",\"34.41330\",1991],[\"-105.46792\",\"34.40276\",0],[\"-105.51787\",\"34.34306\",1946],[\"-105.57524\",\"34.27168\",2012],[\"-105.61386\",\"34.23566\",0],[\"-105.61395\",\"34.23562\",2078],[\"-105.65000\",\"34.18782\",0],[\"-105.69034\",\"34.11997\",2057],[\"-105.72902\",\"34.03906\",0],[\"-105.77271\",\"33.96053\",1856],[\"-105.82623\",\"33.88551\",1757],[\"-105.83330\",\"33.79848\",1757],[\"-105.84164\",\"33.71270\",1694],[\"-105.87103\",\"33.64634\",1646],[\"-105.78282\",\"33.61993\",1790],[\"-105.69240\",\"33.58123\",1967],[\"-105.61771\",\"33.56969\",2030],[\"-105.55374\",\"33.54525\",1928],[\"-105.47804\",\"33.51926\",1841],[\"-105.40250\",\"33.50309\",1772],[\"-105.39090\",\"33.49377\",1748],[\"-105.39096\",\"33.49376\",1763],[\"-105.39099\",\"33.49373\",1757],[\"-105.37794\",\"33.48672\",1736],[\"-105.31616\",\"33.44186\",1676],[\"-105.27780\",\"33.38972\",1613],[\"-105.37346\",\"33.42043\",1694],[\"-105.46791\",\"33.40572\",1790],[\"-105.54097\",\"33.36366\",1895],[\"-105.60747\",\"33.32694\",1979],[\"-105.66165\",\"33.29403\",2114],[\"-105.69005\",\"33.23219\",2339],[\"-105.74620\",\"33.16357\",0],[\"-105.82285\",\"33.16451\",1898],[\"-105.83545\",\"33.16231\",0],[\"-105.83717\",\"33.16231\",1841],[\"-105.92921\",\"33.11645\",1595],[\"-106.01390\",\"33.07946\",1388],[\"-106.00053\",\"33.02423\",1364],[\"-105.97026\",\"32.94970\",1379],[\"-105.97028\",\"32.89692\",1322],[\"-106.01378\",\"32.85356\",1274],[\"-106.09181\",\"32.81957\",0],[\"-106.17816\",\"32.77223\",1238],[\"-106.23940\",\"32.69148\",1211],[\"-106.29718\",\"32.61809\",1220],[\"-106.35875\",\"32.53970\",1217],[\"-106.42023\",\"32.46153\",1217],[\"-106.51973\",\"32.43710\",1505],[\"-106.60727\",\"32.42232\",1526],[\"-106.69923\",\"32.39067\",0],[\"-106.76892\",\"32.34604\",1250],[\"-106.74475\",\"32.31496\",0],[\"-106.74458\",\"32.31599\",1292],[\"-106.74460\",\"32.31601\",1277],[\"-106.74162\",\"32.29597\",1232],[\"-106.76973\",\"32.28108\",0],[\"-106.79381\",\"32.27472\",1190],[\"-106.79402\",\"32.27383\",1187],[\"-106.79482\",\"32.27324\",1187],[\"-106.78745\",\"32.28121\",1184],[\"-106.76578\",\"32.29405\",1184],[\"-106.74962\",\"32.31746\",0],[\"-106.76413\",\"32.34523\",1241],[\"-106.76430\",\"32.34499\",1223],[\"-106.76436\",\"32.34494\",1241],[\"-106.76430\",\"32.34495\",1232],[\"-106.75943\",\"32.32622\",1232],[\"-106.79646\",\"32.31322\",1190],[\"-106.84086\",\"32.30632\",0],[\"-106.91090\",\"32.27345\",1346],[\"-107.01825\",\"32.26167\",1355],[\"-107.11775\",\"32.25027\",1331],[\"-107.19946\",\"32.24098\",1319],[\"-107.30739\",\"32.24317\",1298],[\"-107.41486\",\"32.23882\",1268],[\"-107.51729\",\"32.26563\",1268],[\"-107.63806\",\"32.28673\",1295],[\"-107.73257\",\"32.27370\",1316],[\"-107.75470\",\"32.26992\",1316],[\"-107.76776\",\"32.29536\",1325],[\"-107.82933\",\"32.35409\",1388],[\"-107.89800\",\"32.41941\",0],[\"-107.96649\",\"32.48468\",1478],[\"-108.03771\",\"32.55230\",0],[\"-108.10938\",\"32.62015\",1622],[\"-108.13437\",\"32.69351\",1748],[\"-108.14375\",\"32.75896\",1805],[\"-108.19637\",\"32.78175\",1847],[\"-108.24881\",\"32.78751\",1868],[\"-108.27444\",\"32.77391\",1817],[\"-108.27516\",\"32.76989\",0],[\"-108.27516\",\"32.77023\",0],[\"-108.25945\",\"32.78577\",1847],[\"-108.22533\",\"32.78496\",1871],[\"-108.14867\",\"32.77959\",0],[\"-108.13605\",\"32.71766\",1748],[\"-108.12813\",\"32.63779\",1637],[\"-108.06175\",\"32.57500\",1556],[\"-107.99313\",\"32.50991\",1481],[\"-107.97928\",\"32.49525\",1475],[\"-107.97763\",\"32.49525\",1487],[\"-107.90987\",\"32.43082\",1439],[\"-107.84021\",\"32.36454\",1388],[\"-107.77763\",\"32.30466\",1379],[\"-107.74998\",\"32.27081\",1370],[\"-107.64388\",\"32.28578\",1301],[\"-107.53551\",\"32.27075\",1310],[\"-107.42753\",\"32.23989\",0],[\"-107.31561\",\"32.24294\",1298],[\"-107.20159\",\"32.24054\",0],[\"-107.08829\",\"32.25320\",1358],[\"-106.96352\",\"32.26707\",1352],[\"-106.86928\",\"32.28281\",1268],[\"-106.79720\",\"32.27868\",1187],[\"-106.79503\",\"32.27419\",1190],[\"-106.79579\",\"32.27752\",0],[\"-106.78540\",\"32.30142\",0],[\"-106.78574\",\"32.30121\",1178],[\"-106.78235\",\"32.31284\",1190],[\"-106.77968\",\"32.33538\",1208],[\"-106.74026\",\"32.37217\",1322],[\"-106.62965\",\"32.41449\",1436],[\"-106.54955\",\"32.43539\",1616],[\"-106.43979\",\"32.45121\",1220],[\"-106.37062\",\"32.52418\",1205],[\"-106.30594\",\"32.60658\",1214],[\"-106.24493\",\"32.68413\",1217],[\"-106.18494\",\"32.76239\",1229],[\"-106.12465\",\"32.80291\",1244],[\"-106.03143\",\"32.84615\",1268],[\"-105.96651\",\"32.87575\",1316],[\"-105.96062\",\"32.88234\",1322],[\"-105.96051\",\"32.88237\",1322],[\"-105.96062\",\"32.88245\",1322],[\"-105.96022\",\"32.88957\",1325],[\"-105.96936\",\"32.94102\",1367],[\"-105.98386\",\"32.98369\",1370],[\"-106.01442\",\"33.05899\",1364],[\"-106.04132\",\"33.10333\",1361],[\"-106.05310\",\"33.18641\",0],[\"-106.06752\",\"33.27379\",1373],[\"-106.08023\",\"33.35813\",1409],[\"-106.06401\",\"33.44698\",1514],[\"-106.02615\",\"33.52890\",1556],[\"-105.95055\",\"33.59079\",1592],[\"-105.87799\",\"33.63997\",1673],[\"-105.87125\",\"33.64666\",1691],[\"-105.84842\",\"33.69413\",1697],[\"-105.83392\",\"33.77991\",1736],[\"-105.83203\",\"33.87258\",1775],[\"-105.77657\",\"33.95519\",1880],[\"-105.72908\",\"34.03840\",1904],[\"-105.68828\",\"34.12318\",2081],[\"-105.64853\",\"34.20501\",2081],[\"-105.59450\",\"34.25135\",2057],[\"-105.53832\",\"34.31406\",0],[\"-105.48116\",\"34.38710\",1970],[\"-105.41019\",\"34.45510\",1937],[\"-105.33801\",\"34.51593\",1886],[\"-105.25374\",\"34.58623\",1841],[\"-105.18753\",\"34.59369\",1826],[\"-105.08360\",\"34.57372\",1721],[\"-104.97731\",\"34.54532\",1631],[\"-104.87149\",\"34.51669\",1631],[\"-104.76791\",\"34.48399\",1565],[\"-104.66527\",\"34.45155\",1487],[\"-104.56622\",\"34.44535\",1439],[\"-104.46063\",\"34.47013\",1391],[\"-104.35597\",\"34.47390\",1367],[\"-104.33556\",\"34.47459\",1328],[\"-104.24994\",\"34.47320\",1226],[\"-104.19361\",\"34.43890\",0],[\"-104.19344\",\"34.40405\",1178],[\"-104.19327\",\"34.40404\",1187],[\"-104.19333\",\"34.40402\",1196],[\"-104.19335\",\"34.41723\",0],[\"-104.15198\",\"34.44718\",1238],[\"-104.03777\",\"34.43406\",1244],[\"-103.93381\",\"34.45083\",0],[\"-103.82721\",\"34.43366\",1292],[\"-103.71741\",\"34.42533\",1325],[\"-103.61667\",\"34.42361\",1322],[\"-103.51559\",\"34.41731\",1328],[\"-103.39944\",\"34.41077\",1331],[\"-103.30396\",\"34.40508\",1316],[\"-103.22894\",\"34.40064\",1307],[\"-103.17865\",\"34.39623\",1289],[\"-103.08936\",\"34.39064\",1262],[\"-103.01871\",\"34.38751\",1229],[\"-102.93427\",\"34.34317\",1244],[\"-102.84521\",\"34.29890\",1214],[\"-102.75854\",\"34.24242\",1193],[\"-102.69528\",\"34.20732\",1160],[\"-102.61447\",\"34.13896\",1163],[\"-102.53210\",\"34.07253\",1151],[\"-102.44696\",\"34.01143\",1130],[\"-102.37021\",\"33.95633\",1112],[\"-102.30579\",\"33.90340\",1088],[\"-102.22217\",\"33.84741\",1046],[\"-102.13751\",\"33.78669\",1028],[\"-102.04840\",\"33.73202\",1007],[\"-101.97855\",\"33.67256\",995],[\"-101.90546\",\"33.62398\",983],[\"-101.89987\",\"33.62062\",983],[\"-101.93491\",\"33.58907\",1016],[\"-101.93643\",\"33.54472\",1049],[\"-101.93893\",\"33.53846\",965],[\"-101.85544\",\"33.52907\",950],[\"-101.76443\",\"33.51258\",920],[\"-101.66989\",\"33.45938\",923],[\"-101.60400\",\"33.39390\",911],[\"-101.53091\",\"33.32729\",893],[\"-101.46680\",\"33.25233\",866],[\"-101.38382\",\"33.20136\",767],[\"-101.38266\",\"33.20051\",743],[\"-101.36972\",\"33.17768\",761],[\"-101.28358\",\"33.12132\",0],[\"-101.21054\",\"33.05253\",659],[\"-101.13961\",\"32.98946\",0],[\"-101.07172\",\"32.93414\",746],[\"-101.01877\",\"32.85674\",758],[\"-100.94919\",\"32.78592\",0],[\"-100.88010\",\"32.71730\",710],[\"-100.83371\",\"32.68291\",722],[\"-100.79025\",\"32.66284\",707],[\"-100.72803\",\"32.58520\",686],[\"-100.65671\",\"32.51649\",698],[\"-100.57205\",\"32.45966\",701],[\"-100.47058\",\"32.45277\",677],[\"-100.37399\",\"32.47321\",629],[\"-100.26532\",\"32.49560\",0],[\"-100.16782\",\"32.49079\",593],[\"-100.06467\",\"32.47855\",557],[\"-99.96026\",\"32.46378\",545],[\"-99.85030\",\"32.45932\",0],[\"-99.75006\",\"32.48983\",527],[\"-99.69727\",\"32.47807\",542],[\"-99.62845\",\"32.51281\",569],[\"-99.56335\",\"32.55280\",578],[\"-99.48065\",\"32.61353\",608],[\"-99.43622\",\"32.69235\",620],[\"-99.34320\",\"32.71346\",515],[\"-99.28568\",\"32.73868\",464],[\"-99.26461\",\"32.82241\",446],[\"-99.23260\",\"32.91169\",0],[\"-99.22882\",\"32.93280\",0],[\"-99.22891\",\"32.93293\",332],[\"-99.23394\",\"32.90959\",347],[\"-99.26486\",\"32.82142\",383],[\"-99.21814\",\"32.77104\",383],[\"-99.12259\",\"32.76184\",290],[\"-99.01035\",\"32.76798\",326],[\"-98.92368\",\"32.75494\",416],[\"-98.90271\",\"32.75576\",332],[\"-98.90234\",\"32.75562\",425],[\"-98.85576\",\"32.75447\",0],[\"-98.75766\",\"32.73237\",410],[\"-98.70895\",\"32.77945\",410],[\"-98.70215\",\"32.77608\",0],[\"-98.69623\",\"32.72947\",446],[\"-98.80060\",\"32.74088\",422],[\"-98.88542\",\"32.75500\",0],[\"-98.90250\",\"32.71741\",434],[\"-98.90280\",\"32.62479\",476],[\"-98.88518\",\"32.53022\",0],[\"-98.90012\",\"32.45619\",491],[\"-98.97235\",\"32.39418\",0],[\"-98.97020\",\"32.37156\",0],[\"-98.95734\",\"32.32774\",491],[\"-98.91871\",\"32.27825\",0],[\"-98.83203\",\"32.27387\",509],[\"-98.76575\",\"32.23556\",467],[\"-98.67310\",\"32.21528\",458],[\"-98.61055\",\"32.17220\",0],[\"-98.53751\",\"32.11813\",404],[\"-98.53421\",\"32.11716\",419],[\"-98.44342\",\"32.09154\",410],[\"-98.36105\",\"32.09050\",455],[\"-98.34137\",\"32.08702\",437],[\"-98.34143\",\"32.08709\",437],[\"-98.34139\",\"32.08705\",443],[\"-96.97076\",\"32.89585\",170],[\"-96.92230\",\"32.80169\",155],[\"-96.91882\",\"32.79823\",0],[\"-96.91885\",\"32.79742\",125],[\"-96.91882\",\"32.79737\",134],[\"-96.92139\",\"32.81873\",152],[\"-96.93570\",\"32.85973\",203],[\"-96.96259\",\"32.89631\",62],[\"-96.96274\",\"32.89595\",95],[\"-96.96277\",\"32.89600\",86],[\"-96.96259\",\"32.89631\",0],[\"-96.95959\",\"32.89613\",50],[\"-96.95886\",\"32.89663\",101],[\"-96.93810\",\"32.86245\",92],[\"-96.92149\",\"32.79993\",0],[\"-96.91943\",\"32.71903\",173],[\"-96.92429\",\"32.66895\",200],[\"-96.83475\",\"32.64183\",194],[\"-96.82248\",\"32.57240\",185],[\"-96.82971\",\"32.48506\",188],[\"-96.87061\",\"32.39389\",164],[\"-96.86139\",\"32.31650\",185],[\"-96.88657\",\"32.22304\",146],[\"-96.94629\",\"32.13950\",182],[\"-97.08602\",\"31.84829\",191],[\"-97.10436\",\"31.75831\",0],[\"-97.09972\",\"31.66686\",155],[\"-97.11166\",\"31.58383\",155],[\"-97.13284\",\"31.55766\",146],[\"-97.13303\",\"31.55727\",0],[\"-97.13088\",\"31.55930\",116],[\"-97.10901\",\"31.59529\",140],[\"-97.09976\",\"31.68416\",155],[\"-97.10345\",\"31.76996\",179],[\"-97.08374\",\"31.85918\",191],[\"-97.10342\",\"31.93000\",188],[\"-97.10907\",\"31.98367\",200],[\"-97.09339\",\"32.05296\",0],[\"-97.01434\",\"32.10171\",227],[\"-96.92770\",\"32.15538\",191],[\"-96.90051\",\"32.19717\",0],[\"-96.90060\",\"32.19713\",191],[\"-96.90057\",\"32.19709\",188],[\"-96.90057\",\"32.19709\",191],[\"-96.90027\",\"32.19707\",209],[\"-96.88513\",\"32.22539\",140],[\"-96.86344\",\"32.30607\",0],[\"-96.87125\",\"32.39615\",164],[\"-96.83374\",\"32.47843\",188],[\"-96.82239\",\"32.55927\",185],[\"-96.82317\",\"32.64207\",191],[\"-96.82602\",\"32.72518\",170],[\"-96.82660\",\"32.76868\",128],[\"-96.85344\",\"32.78178\",0],[\"-96.86520\",\"32.77547\",134],[\"-96.86060\",\"32.77801\",137],[\"-96.85687\",\"32.77868\",122],[\"-96.83615\",\"32.77860\",137],[\"-96.81232\",\"32.78765\",143],[\"-96.81292\",\"32.85320\",182],[\"-96.81604\",\"32.91421\",188],[\"-96.82190\",\"32.93437\",203],[\"-96.82138\",\"32.96724\",311],[\"-96.82492\",\"33.06413\",0],[\"-96.82492\",\"33.13182\",242],[\"-96.82277\",\"33.20378\",188],[\"-96.81876\",\"33.23323\",200],[\"-96.81847\",\"33.26245\",221],[\"-96.81149\",\"33.28481\",191],[\"-96.81281\",\"33.30602\",197],[\"-96.80056\",\"33.32494\",206],[\"-96.78662\",\"33.32373\",242],[\"-96.78722\",\"33.32412\",209],[\"-96.77020\",\"33.34478\",218],[\"-96.76125\",\"33.40442\",203],[\"-96.75223\",\"33.43533\",209],[\"-96.74637\",\"33.44102\",209],[\"-96.74319\",\"33.44532\",212],[\"-96.71832\",\"33.49733\",239],[\"-96.70523\",\"33.56395\",254],[\"-96.69732\",\"33.65173\",254],[\"-96.67252\",\"33.67098\",245],[\"-96.64725\",\"33.67106\",230],[\"-96.61266\",\"33.65901\",224],[\"-96.61432\",\"33.65473\",224],[\"-96.61417\",\"33.65492\",227],[\"-96.61411\",\"33.65490\",230],[\"-96.61172\",\"33.65576\",0],[\"-96.54933\",\"33.65722\",0],[\"-96.44479\",\"33.63993\",197],[\"-96.33978\",\"33.61316\",206],[\"-96.23099\",\"33.60393\",188],[\"-96.11444\",\"33.60591\",167],[\"-96.01382\",\"33.60942\",185],[\"-95.90716\",\"33.59680\",182],[\"-95.80504\",\"33.60830\",188],[\"-95.71829\",\"33.64212\",185],[\"-95.62018\",\"33.66067\",164],[\"-95.55960\",\"33.68601\",0],[\"-95.55557\",\"33.69309\",0],[\"-95.55557\",\"33.69296\",185],[\"-95.55597\",\"33.69297\",209],[\"-95.55609\",\"33.69290\",152],[\"-95.55594\",\"33.69281\",113],[\"-95.55615\",\"33.69278\",128],[\"-95.55426\",\"33.69393\",128],[\"-95.55428\",\"33.68709\",152],[\"-95.51035\",\"33.66146\",0],[\"-95.43944\",\"33.66322\",149],[\"-95.36484\",\"33.66444\",128],[\"-95.27243\",\"33.66117\",128],[\"-95.19803\",\"33.63390\",122],[\"-95.10126\",\"33.61262\",125],[\"-95.03762\",\"33.61661\",128],[\"-94.84692\",\"33.57518\",131],[\"-94.77624\",\"33.55199\",0],[\"-94.68680\",\"33.53542\",128],[\"-94.61227\",\"33.50684\",116],[\"-94.52706\",\"33.48948\",113],[\"-94.46975\",\"33.46447\",110],[\"-94.36935\",\"33.47084\",110],[\"-94.25991\",\"33.47506\",104],[\"-94.15416\",\"33.45663\",98],[\"-94.07208\",\"33.46278\",83],[\"-93.98734\",\"33.47430\",74],[\"-94.00900\",\"33.45639\",86],[\"-94.00479\",\"33.43841\",98],[\"-93.95120\",\"33.42950\",104],[\"-93.86938\",\"33.42411\",0],[\"-93.78793\",\"33.41235\",71],[\"-93.73248\",\"33.37514\",62],[\"-93.64821\",\"33.35667\",68],[\"-93.56500\",\"33.35555\",0],[\"-93.49594\",\"33.36557\",98],[\"-93.42673\",\"33.35894\",74],[\"-93.41242\",\"33.35871\",0],[\"-93.41233\",\"33.35871\",0],[\"-93.36890\",\"33.35103\",95],[\"-93.29541\",\"33.35299\",110],[\"-93.29703\",\"33.35247\",128],[\"-93.29602\",\"33.35302\",107],[\"-93.33298\",\"33.35013\",0],[\"-93.41864\",\"33.35871\",0],[\"-93.49091\",\"33.36515\",125],[\"-93.57101\",\"33.35469\",119],[\"-93.65752\",\"33.35542\",107],[\"-93.73572\",\"33.38787\",116],[\"-93.80710\",\"33.41282\",0],[\"-93.89122\",\"33.42831\",0],[\"-93.97472\",\"33.42951\",170],[\"-93.99621\",\"33.46636\",146],[\"-93.94626\",\"33.50999\",164],[\"-94.02664\",\"33.47159\",134],[\"-94.10480\",\"33.45108\",191],[\"-94.19910\",\"33.46492\",155],[\"-94.28851\",\"33.47557\",0],[\"-94.28860\",\"33.47527\",0],[\"-94.28860\",\"33.47557\",191],[\"-94.28857\",\"33.47550\",161],[\"-94.28843\",\"33.47561\",0],[\"-94.33984\",\"33.46814\",170],[\"-94.44843\",\"33.47431\",155],[\"-94.55150\",\"33.42038\",110],[\"-94.63081\",\"33.36793\",0],[\"-94.70632\",\"33.30389\",128],[\"-94.80676\",\"33.27540\",101],[\"-94.89279\",\"33.22102\",125],[\"-94.96972\",\"33.17953\",0],[\"-94.97109\",\"33.18253\",0],[\"-94.99563\",\"33.20137\",179],[\"-95.00588\",\"33.20885\",143],[\"-94.96252\",\"33.20054\",128],[\"-94.93097\",\"33.19389\",0],[\"-94.93088\",\"33.19389\",131],[\"-94.95242\",\"33.18477\",104],[\"-95.04550\",\"33.15853\",107],[\"-95.15509\",\"33.16220\",134],[\"-95.26120\",\"33.16335\",113],[\"-95.37170\",\"33.16607\",122],[\"-95.47837\",\"33.14656\",0],[\"-95.57776\",\"33.13025\",116],[\"-95.67136\",\"33.12106\",146],[\"-95.77813\",\"33.13042\",170],[\"-95.88315\",\"33.12982\",182],[\"-95.99203\",\"33.12947\",170],[\"-96.08353\",\"33.12671\",161],[\"-96.10992\",\"33.09158\",164],[\"-96.11377\",\"33.09391\",152],[\"-96.11380\",\"33.09386\",176],[\"-96.11356\",\"33.09388\",191],[\"-96.10944\",\"33.06203\",185],[\"-96.10751\",\"33.06192\",218],[\"-96.10947\",\"33.04956\",185],[\"-96.17770\",\"33.04301\",173],[\"-96.24139\",\"32.99789\",170],[\"-96.33011\",\"32.96994\",170],[\"-96.40173\",\"32.92377\",197],[\"-96.44949\",\"32.90931\",176],[\"-96.52536\",\"32.87289\",134],[\"-96.60925\",\"32.83449\",164],[\"-96.68809\",\"32.79677\",0],[\"-96.73126\",\"32.79188\",143],[\"-96.76882\",\"32.78461\",152],[\"-96.80371\",\"32.78746\",-13],[\"-96.81453\",\"32.79447\",128],[\"-96.84041\",\"32.80676\",125],[\"-96.89449\",\"32.83315\",125],[\"-96.98169\",\"32.83745\",161],[\"-97.00491\",\"32.83639\",0],[\"-97.00491\",\"32.83630\",0],[\"-97.00491\",\"32.83626\",182],[\"-97.00482\",\"32.83641\",158],[\"-97.00577\",\"32.83584\",158],[\"-97.00657\",\"32.83529\",0],[\"-97.00682\",\"32.83542\",0],[\"-97.00570\",\"32.83568\",170],[\"-97.00482\",\"32.83645\",0],[\"-97.00482\",\"32.83641\",0],[\"-97.00482\",\"32.83641\",161],[\"-97.03550\",\"32.83714\",0],[\"-97.06751\",\"32.83212\",0],[\"-97.06433\",\"32.86147\",167],[\"-97.09186\",\"32.91792\",212],[\"-97.13797\",\"32.95466\",197],[\"-97.15604\",\"32.97025\",230],[\"-97.15588\",\"32.97025\",224],[\"-97.15479\",\"32.97008\",218],[\"-97.15372\",\"32.97031\",239],[\"-97.12018\",\"32.94376\",227],[\"-97.04940\",\"32.92883\",221],[\"-96.96225\",\"32.89610\",260],[\"-96.96231\",\"32.89616\",251],[\"-96.96935\",\"32.89965\",203],[\"-97.01533\",\"32.85333\",0],[\"-97.00812\",\"32.83771\",0],[\"-97.00812\",\"32.83771\",233],[\"-97.00803\",\"32.83770\",224],[\"-97.00818\",\"32.83782\",179],[\"-97.00809\",\"32.83764\",191],[\"-97.00800\",\"32.83770\",182],[\"-97.00793\",\"32.83778\",170],[\"-96.97284\",\"32.83676\",170],[\"-96.92117\",\"32.80819\",146],[\"-96.90237\",\"32.76591\",152],[\"-96.85645\",\"32.76159\",170],[\"-96.84466\",\"32.76515\",167],[\"-96.84573\",\"32.76542\",161],[\"-96.84542\",\"32.76698\",0],[\"-96.81108\",\"32.77844\",0],[\"-96.86954\",\"32.82002\",113],[\"-96.86386\",\"32.86726\",134],[\"-96.86394\",\"32.86791\",0],[\"-96.86377\",\"32.86757\",125],[\"-96.86374\",\"32.86749\",131],[\"-96.86484\",\"32.87103\",146],[\"-96.87735\",\"32.85030\",122],[\"-96.84090\",\"32.80668\",0],[\"-96.81619\",\"32.79647\",101],[\"-96.80896\",\"32.78892\",173],[\"-96.80965\",\"32.78516\",0],[\"-96.83969\",\"32.77902\",131],[\"-96.83676\",\"32.77851\",116],[\"-96.83198\",\"32.80313\",0],[\"-96.90494\",\"32.83892\",134],[\"-96.96320\",\"32.89081\",137],[\"-96.96274\",\"32.89655\",170],[\"-96.96277\",\"32.89696\",131],[\"-96.96256\",\"32.89662\",0],[\"-96.96307\",\"32.89649\",113],[\"-96.80695\",\"32.78473\",119],[\"-96.76819\",\"32.74647\",134],[\"-96.68674\",\"32.71547\",146],[\"-96.61224\",\"32.70159\",164],[\"-96.50991\",\"32.70027\",209],[\"-96.40442\",\"32.69569\",191],[\"-96.30569\",\"32.71368\",188],[\"-96.20895\",\"32.68413\",206],[\"-96.11002\",\"32.65896\",197],[\"-95.99823\",\"32.62415\",0],[\"-95.90398\",\"32.59784\",161],[\"-95.87354\",\"32.58284\",0],[\"-95.87354\",\"32.58280\",119],[\"-95.80240\",\"32.55748\",152],[\"-95.70114\",\"32.52065\",152],[\"-95.59524\",\"32.49948\",140],[\"-95.49243\",\"32.47979\",176],[\"-95.38657\",\"32.46832\",155],[\"-95.28328\",\"32.45298\",152],[\"-95.17404\",\"32.44720\",101],[\"-95.06692\",\"32.44192\",0],[\"-94.94692\",\"32.43411\",131],[\"-94.84631\",\"32.43349\",107],[\"-94.74417\",\"32.43757\",92],[\"-94.72141\",\"32.44440\",89],[\"-94.62009\",\"32.46686\",0],[\"-94.51117\",\"32.48471\",98],[\"-94.40118\",\"32.48870\",101],[\"-94.35872\",\"32.49437\",116],[\"-94.35886\",\"32.49439\",86],[\"-94.35880\",\"32.49437\",98],[\"-94.35886\",\"32.49439\",92],[\"-94.35870\",\"32.49426\",137],[\"-94.35605\",\"32.49086\",107],[\"-94.24690\",\"32.49552\",0],[\"-94.13669\",\"32.48822\",95],[\"-94.03497\",\"32.45714\",89],[\"-93.93246\",\"32.44392\",104],[\"-93.83611\",\"32.45869\",80],[\"-93.75288\",\"32.49937\",0],[\"-93.67392\",\"32.52802\",137],[\"-93.57205\",\"32.54160\",89],[\"-93.47367\",\"32.57609\",0],[\"-93.35947\",\"32.58592\",14],[\"-93.25000\",\"32.58060\",110],[\"-93.15427\",\"32.56229\",62],[\"-93.05252\",\"32.56305\",86],[\"-92.94495\",\"32.56675\",0],[\"-92.83844\",\"32.54903\",98],[\"-92.72974\",\"32.54295\",77],[\"-92.62433\",\"32.54007\",71],[\"-92.51724\",\"32.53894\",56],[\"-92.47423\",\"32.53138\",0],[\"-92.47414\",\"32.53147\",68],[\"-92.47409\",\"32.53141\",0],[\"-92.47405\",\"32.53140\",119],[\"-92.47400\",\"32.53143\",137],[\"-92.47387\",\"32.53169\",50],[\"-92.39087\",\"32.52166\",50],[\"-92.28470\",\"32.50967\",47],[\"-92.17386\",\"32.51078\",53],[\"-92.08081\",\"32.49897\",41],[\"-91.98566\",\"32.48843\",23],[\"-91.87658\",\"32.48005\",26],[\"-91.76990\",\"32.45797\",32],[\"-91.66070\",\"32.45595\",35],[\"-91.55096\",\"32.44655\",44],[\"-91.44110\",\"32.43451\",44],[\"-91.33423\",\"32.42176\",38],[\"-91.21850\",\"32.40239\",23],[\"-91.12784\",\"32.36633\",26],[\"-91.02744\",\"32.33028\",26],[\"-90.92261\",\"32.32074\",29],[\"-90.84442\",\"32.34227\",62],[\"-90.74213\",\"32.35262\",71],[\"-90.69363\",\"32.36307\",53],[\"-90.68526\",\"32.36364\",0],[\"-90.66354\",\"32.35819\",44],[\"-90.64752\",\"32.35445\",47],[\"-90.64749\",\"32.35439\",47],[\"-90.63449\",\"32.35334\",41],[\"-90.53845\",\"32.36005\",95],[\"-90.46259\",\"32.35866\",50],[\"-90.46263\",\"32.35879\",0],[\"-90.46254\",\"32.35879\",2],[\"-90.44824\",\"32.35926\",68],[\"-90.34698\",\"32.33990\",92],[\"-90.26080\",\"32.29043\",104],[\"-90.18021\",\"32.27618\",83],[\"-90.15640\",\"32.22173\",86],[\"-90.12921\",\"32.16343\",92],[\"-90.07840\",\"32.12611\",92],[\"-90.01212\",\"32.07016\",119],[\"-89.92449\",\"32.00682\",86],[\"-89.85626\",\"31.96464\",0],[\"-89.78769\",\"31.90808\",143],[\"-89.74533\",\"31.86931\",125],[\"-89.70874\",\"31.83257\",128],[\"-89.66504\",\"31.75614\",113],[\"-89.60442\",\"31.68913\",98],[\"-89.55907\",\"31.63398\",98],[\"-89.52444\",\"31.58415\",80],[\"-89.48069\",\"31.51111\",0],[\"-89.47168\",\"31.49570\",104],[\"-89.37989\",\"31.39217\",0],[\"-89.35217\",\"31.33921\",0],[\"-89.33655\",\"31.25887\",107],[\"-89.26151\",\"31.24546\",74],[\"-89.17064\",\"31.21664\",47],[\"-89.07474\",\"31.20608\",32],[\"-88.97977\",\"31.19619\",44],[\"-88.90030\",\"31.15306\",53],[\"-88.81989\",\"31.11293\",44],[\"-88.74265\",\"31.07303\",41],[\"-88.69302\",\"31.00773\",38],[\"-88.62555\",\"30.95755\",89],[\"-88.52484\",\"30.93571\",68],[\"-88.45844\",\"30.89918\",47],[\"-88.38019\",\"30.85100\",32],[\"-88.30304\",\"30.81038\",44],[\"-88.22769\",\"30.80644\",38],[\"-88.14505\",\"30.80293\",17],[\"-88.10275\",\"30.79380\",0],[\"-88.07288\",\"30.72784\",11],[\"-88.03247\",\"30.69994\",-1],[\"-87.97884\",\"30.67671\",5],[\"-87.91195\",\"30.66810\",38],[\"-87.90982\",\"30.66258\",32]]},\"properties\":{\"stroke\":\"#ff00ff\",\"stroke-opacity\":1,\"stroke-width\":1}};\n if (gj.type === 'Feature' && gj.geometry.type === 'LineString') {\n var sourceName = 'AF Spot 4 - 3537-6a1b1b421998c';\n map.addSource(sourceName, { type: 'geojson', data: gj });\n\n \/\/ ['get', 'stroke']\n map.addLayer({\n id: 'AF Spot 4 - 3537-6a1b1b421998c',\n source: sourceName,\n type: 'line',\n paint: {\n 'line-color': ['get', 'stroke'],\n 'line-width': ['get', 'stroke-width'],\n 'line-opacity': ['get', 'stroke-opacity'],\n },\n filter: [\"==\", \"$type\", \"LineString\"]\n });\n\n gj.geometry.coordinates.forEach(function(lngLat) {\n bounds.extend(lngLat);\n });\n\n layers.push('AF Spot 4 - 3537-6a1b1b421998c');\n }\n af = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-94.18088\",\"36.13600\",335]},\"properties\":{\"tripId\":136835,\"messageId\":51019046,\"messageDateTime\":\"2026-05-01 07:12:20\",\"messageDateTimeUTC\":\"2026-05-01T11:12:20Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.0\",\"kph\":\"0.0\",\"knots\":\"0.0\",\"bearing\":180,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"fa-solid fa-star\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n if (af.type === 'Feature' && af.geometry.type === 'Point') {\n el = document.createElement('div');\n el.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: green; background-color: #fff; border-radius: 50%; border: 1px solid #000;\";\n el.innerHTML = '<\/i>';\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51019046, 'TRACK'); });\n\n m = new mapboxgl.Marker({ 'element': el })\n .setLngLat(af.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(af.geometry.coordinates);\n markers.push(m);\n if (af.properties.smallPic !== undefined && af.properties.smallPic !== null && af.properties.smallPic.length > 0 && af.properties.largePic !== undefined && af.properties.largePic !== null && af.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + af.properties.color + \";\";\n a.innerHTML = '<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(af.geometry.coordinates)\n .addTo(map);\n markers.push(m);\n markersWithPics.push(m);\n picListMarkers['0'] = m;\n plHtml += '
<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-94.18088\",\"36.13600\",0]},\"properties\":{\"tripId\":136835,\"messageId\":51019045,\"messageDateTime\":\"2026-05-01 07:12:32\",\"messageDateTimeUTC\":\"2026-05-01T11:12:32Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"OK\",\"messageTypeDescription\":\"Ok\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.0\",\"kph\":\"0.0\",\"knots\":\"0.0\",\"bearing\":0,\"nearest\":null,\"messageText\":\"This is the default SPOT Check-in\\\/OK message. Please update.\",\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51019045, 'OK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['1'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-98.11301\",\"37.64443\",0]},\"properties\":{\"tripId\":136835,\"messageId\":51030261,\"messageDateTime\":\"2026-05-01 14:29:52\",\"messageDateTimeUTC\":\"2026-05-01T18:29:52Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"OK\",\"messageTypeDescription\":\"Ok\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.0\",\"kph\":\"0.0\",\"knots\":\"0.0\",\"bearing\":112,\"nearest\":null,\"messageText\":\"This is the default SPOT Check-in\\\/OK message. Please update.\",\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51030261, 'OK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['2'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-106.00745\",\"35.64669\",0]},\"properties\":{\"tripId\":136835,\"messageId\":51085684,\"messageDateTime\":\"2026-05-03 08:57:25\",\"messageDateTimeUTC\":\"2026-05-03T12:57:25Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"OK\",\"messageTypeDescription\":\"Ok\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.0\",\"kph\":\"0.0\",\"knots\":\"0.0\",\"bearing\":0,\"nearest\":null,\"messageText\":\"This is the default SPOT Check-in\\\/OK message. Please update.\",\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51085684, 'OK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['3'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-96.96259\",\"32.89631\",0]},\"properties\":{\"tripId\":136835,\"messageId\":51170862,\"messageDateTime\":\"2026-05-06 11:49:10\",\"messageDateTimeUTC\":\"2026-05-06T15:49:10Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"OK\",\"messageTypeDescription\":\"Ok\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.5\",\"kph\":\"1.1\",\"knots\":\"0.5\",\"bearing\":25,\"nearest\":null,\"messageText\":\"This is the default SPOT Check-in\\\/OK message. Please update.\",\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51170862, 'OK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['4'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-92.47409\",\"32.53141\",0]},\"properties\":{\"tripId\":136835,\"messageId\":51250277,\"messageDateTime\":\"2026-05-09 13:23:53\",\"messageDateTimeUTC\":\"2026-05-09T17:23:53Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"OK\",\"messageTypeDescription\":\"Ok\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.2\",\"kph\":\"0.2\",\"knots\":\"0.1\",\"bearing\":144,\"nearest\":null,\"messageText\":\"This is the default SPOT Check-in\\\/OK message. Please update.\",\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51250277, 'OK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['5'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-94.18088\",\"36.13626\",368]},\"properties\":{\"tripId\":136835,\"messageId\":51019229,\"messageDateTime\":\"2026-05-01 07:21:50\",\"messageDateTimeUTC\":\"2026-05-01T11:21:50Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.1\",\"kph\":\"0.1\",\"knots\":\"0.1\",\"bearing\":227,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51019229, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['6'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-94.54132\",\"36.17245\",353]},\"properties\":{\"tripId\":136835,\"messageId\":51020520,\"messageDateTime\":\"2026-05-01 08:36:40\",\"messageDateTimeUTC\":\"2026-05-01T12:36:40Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"31.2\",\"kph\":\"50.1\",\"knots\":\"27.1\",\"bearing\":257,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51020520, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['7'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-95.53156\",\"36.16953\",188]},\"properties\":{\"tripId\":136835,\"messageId\":51021490,\"messageDateTime\":\"2026-05-01 09:26:16\",\"messageDateTimeUTC\":\"2026-05-01T13:26:16Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"69.1\",\"kph\":\"111.3\",\"knots\":\"60.0\",\"bearing\":269,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51021490, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['8'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-96.35056\",\"36.21663\",239]},\"properties\":{\"tripId\":136835,\"messageId\":51022680,\"messageDateTime\":\"2026-05-01 10:16:03\",\"messageDateTimeUTC\":\"2026-05-01T14:16:03Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"67.2\",\"kph\":\"108.1\",\"knots\":\"58.4\",\"bearing\":296,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51022680, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['9'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-97.32697\",\"36.44014\",257]},\"properties\":{\"tripId\":136835,\"messageId\":51024140,\"messageDateTime\":\"2026-05-01 11:05:46\",\"messageDateTimeUTC\":\"2026-05-01T15:05:46Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"54.7\",\"kph\":\"87.9\",\"knots\":\"47.5\",\"bearing\":305,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51024140, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['10'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-97.34475\",\"36.99051\",338]},\"properties\":{\"tripId\":136835,\"messageId\":51025790,\"messageDateTime\":\"2026-05-01 12:05:13\",\"messageDateTimeUTC\":\"2026-05-01T16:05:13Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"77.9\",\"kph\":\"125.3\",\"knots\":\"67.7\",\"bearing\":4,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51025790, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['11'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-97.64285\",\"37.48741\",407]},\"properties\":{\"tripId\":136835,\"messageId\":51027245,\"messageDateTime\":\"2026-05-01 12:54:53\",\"messageDateTimeUTC\":\"2026-05-01T16:54:53Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"61.5\",\"kph\":\"99.0\",\"knots\":\"53.5\",\"bearing\":359,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51027245, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['12'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-98.10834\",\"37.64632\",461]},\"properties\":{\"tripId\":136835,\"messageId\":51028746,\"messageDateTime\":\"2026-05-01 13:44:44\",\"messageDateTimeUTC\":\"2026-05-01T17:44:44Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.1\",\"kph\":\"0.1\",\"knots\":\"0.1\",\"bearing\":265,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51028746, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['13'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-98.58535\",\"37.64639\",539]},\"properties\":{\"tripId\":136835,\"messageId\":51030995,\"messageDateTime\":\"2026-05-01 15:00:42\",\"messageDateTimeUTC\":\"2026-05-01T19:00:42Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"70.6\",\"kph\":\"113.6\",\"knots\":\"61.3\",\"bearing\":270,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51030995, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['14'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-99.51764\",\"37.58622\",710]},\"properties\":{\"tripId\":136835,\"messageId\":51032780,\"messageDateTime\":\"2026-05-01 15:50:31\",\"messageDateTimeUTC\":\"2026-05-01T19:50:31Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"58.8\",\"kph\":\"94.5\",\"knots\":\"51.1\",\"bearing\":269,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51032780, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['15'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-100.03220\",\"37.75368\",752]},\"properties\":{\"tripId\":136835,\"messageId\":51034256,\"messageDateTime\":\"2026-05-01 16:40:17\",\"messageDateTimeUTC\":\"2026-05-01T20:40:17Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"27.0\",\"kph\":\"43.5\",\"knots\":\"23.4\",\"bearing\":280,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51034256, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['16'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-100.01669\",\"37.75229\",749]},\"properties\":{\"tripId\":136835,\"messageId\":51045606,\"messageDateTime\":\"2026-05-02 05:25:29\",\"messageDateTimeUTC\":\"2026-05-02T09:25:29Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.4\",\"kph\":\"0.5\",\"knots\":\"0.3\",\"bearing\":180,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51045606, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['17'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-100.01645\",\"37.75280\",749]},\"properties\":{\"tripId\":136835,\"messageId\":51060285,\"messageDateTime\":\"2026-05-02 14:01:20\",\"messageDateTimeUTC\":\"2026-05-02T18:01:20Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.1\",\"kph\":\"0.1\",\"knots\":\"0.1\",\"bearing\":321,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51060285, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['18'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-100.68661\",\"37.82891\",863]},\"properties\":{\"tripId\":136835,\"messageId\":51062441,\"messageDateTime\":\"2026-05-02 14:50:47\",\"messageDateTimeUTC\":\"2026-05-02T18:50:47Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"45.8\",\"kph\":\"73.6\",\"knots\":\"39.8\",\"bearing\":189,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51062441, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['19'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-101.21634\",\"37.31845\",923]},\"properties\":{\"tripId\":136835,\"messageId\":51064480,\"messageDateTime\":\"2026-05-02 15:40:34\",\"messageDateTimeUTC\":\"2026-05-02T19:40:34Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"66.7\",\"kph\":\"107.4\",\"knots\":\"58.0\",\"bearing\":235,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51064480, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['20'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-102.07486\",\"36.89188\",1142]},\"properties\":{\"tripId\":136835,\"messageId\":51066587,\"messageDateTime\":\"2026-05-02 16:30:19\",\"messageDateTimeUTC\":\"2026-05-02T20:30:19Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"76.7\",\"kph\":\"123.5\",\"knots\":\"66.6\",\"bearing\":240,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51066587, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['21'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-102.97147\",\"36.53010\",1442]},\"properties\":{\"tripId\":136835,\"messageId\":51068570,\"messageDateTime\":\"2026-05-02 17:20:14\",\"messageDateTimeUTC\":\"2026-05-02T21:20:14Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"77.8\",\"kph\":\"125.3\",\"knots\":\"67.6\",\"bearing\":254,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51068570, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['22'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-103.65292\",\"36.31948\",1775]},\"properties\":{\"tripId\":136835,\"messageId\":51070731,\"messageDateTime\":\"2026-05-02 18:09:59\",\"messageDateTimeUTC\":\"2026-05-02T22:09:59Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"71.6\",\"kph\":\"115.3\",\"knots\":\"62.3\",\"bearing\":267,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51070731, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['23'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-104.59485\",\"36.36131\",1739]},\"properties\":{\"tripId\":136835,\"messageId\":51072241,\"messageDateTime\":\"2026-05-02 18:59:55\",\"messageDateTimeUTC\":\"2026-05-02T22:59:55Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.6\",\"kph\":\"0.8\",\"knots\":\"0.5\",\"bearing\":81,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51072241, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['24'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-105.13672\",\"35.68895\",2039]},\"properties\":{\"tripId\":136835,\"messageId\":51073530,\"messageDateTime\":\"2026-05-02 19:49:47\",\"messageDateTimeUTC\":\"2026-05-02T23:49:47Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"77.4\",\"kph\":\"124.6\",\"knots\":\"67.3\",\"bearing\":238,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51073530, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['25'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-105.46278\",\"35.39738\",1856]},\"properties\":{\"tripId\":136835,\"messageId\":51075714,\"messageDateTime\":\"2026-05-02 21:24:01\",\"messageDateTimeUTC\":\"2026-05-03T01:24:01Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"77.0\",\"kph\":\"123.9\",\"knots\":\"66.9\",\"bearing\":273,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51075714, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['26'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-105.94106\",\"35.68744\",0]},\"properties\":{\"tripId\":136835,\"messageId\":51076936,\"messageDateTime\":\"2026-05-02 22:19:10\",\"messageDateTimeUTC\":\"2026-05-03T02:19:10Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.0\",\"kph\":\"0.0\",\"knots\":\"0.0\",\"bearing\":0,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51076936, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['27'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-106.00746\",\"35.64661\",2036]},\"properties\":{\"tripId\":136835,\"messageId\":51085976,\"messageDateTime\":\"2026-05-03 09:11:02\",\"messageDateTimeUTC\":\"2026-05-03T13:11:02Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.1\",\"kph\":\"0.1\",\"knots\":\"0.1\",\"bearing\":257,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51085976, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['28'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-105.70590\",\"35.08328\",0]},\"properties\":{\"tripId\":136835,\"messageId\":51089076,\"messageDateTime\":\"2026-05-03 10:49:11\",\"messageDateTimeUTC\":\"2026-05-03T14:49:11Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"76.2\",\"kph\":\"122.7\",\"knots\":\"66.2\",\"bearing\":151,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51089076, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['29'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-105.46792\",\"34.40276\",0]},\"properties\":{\"tripId\":136835,\"messageId\":51091343,\"messageDateTime\":\"2026-05-03 11:39:00\",\"messageDateTimeUTC\":\"2026-05-03T15:39:00Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"10.9\",\"kph\":\"17.6\",\"knots\":\"9.5\",\"bearing\":214,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51091343, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['30'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-105.83330\",\"33.79848\",1757]},\"properties\":{\"tripId\":136835,\"messageId\":51092702,\"messageDateTime\":\"2026-05-03 12:28:48\",\"messageDateTimeUTC\":\"2026-05-03T16:28:48Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"72.8\",\"kph\":\"117.2\",\"knots\":\"63.3\",\"bearing\":183,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51092702, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['31'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-105.39096\",\"33.49376\",1763]},\"properties\":{\"tripId\":136835,\"messageId\":51095093,\"messageDateTime\":\"2026-05-03 13:23:34\",\"messageDateTimeUTC\":\"2026-05-03T17:23:34Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.0\",\"kph\":\"0.1\",\"knots\":\"0.0\",\"bearing\":258,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51095093, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['32'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-105.69005\",\"33.23219\",2339]},\"properties\":{\"tripId\":136835,\"messageId\":51097991,\"messageDateTime\":\"2026-05-03 14:35:20\",\"messageDateTimeUTC\":\"2026-05-03T18:35:20Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"55.1\",\"kph\":\"88.7\",\"knots\":\"47.9\",\"bearing\":201,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51097991, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['33'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-106.01378\",\"32.85356\",1274]},\"properties\":{\"tripId\":136835,\"messageId\":51099788,\"messageDateTime\":\"2026-05-03 15:25:04\",\"messageDateTimeUTC\":\"2026-05-03T19:25:04Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"46.4\",\"kph\":\"74.7\",\"knots\":\"40.3\",\"bearing\":220,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51099788, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['34'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-106.76892\",\"32.34604\",1250]},\"properties\":{\"tripId\":136835,\"messageId\":51102559,\"messageDateTime\":\"2026-05-03 16:42:07\",\"messageDateTimeUTC\":\"2026-05-03T20:42:07Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"61.3\",\"kph\":\"98.6\",\"knots\":\"53.3\",\"bearing\":232,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51102559, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['35'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-106.76578\",\"32.29405\",1184]},\"properties\":{\"tripId\":136835,\"messageId\":51106258,\"messageDateTime\":\"2026-05-03 18:31:10\",\"messageDateTimeUTC\":\"2026-05-03T22:31:10Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"18.5\",\"kph\":\"29.8\",\"knots\":\"16.1\",\"bearing\":54,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51106258, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['36'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-107.01825\",\"32.26167\",1355]},\"properties\":{\"tripId\":136835,\"messageId\":51120731,\"messageDateTime\":\"2026-05-04 09:30:33\",\"messageDateTimeUTC\":\"2026-05-04T13:30:33Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"76.2\",\"kph\":\"122.6\",\"knots\":\"66.2\",\"bearing\":262,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51120731, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['37'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-107.82933\",\"32.35409\",1388]},\"properties\":{\"tripId\":136835,\"messageId\":51121932,\"messageDateTime\":\"2026-05-04 10:25:14\",\"messageDateTimeUTC\":\"2026-05-04T14:25:14Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"64.6\",\"kph\":\"104.1\",\"knots\":\"56.1\",\"bearing\":318,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51121932, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['38'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-108.27516\",\"32.76989\",0]},\"properties\":{\"tripId\":136835,\"messageId\":51123486,\"messageDateTime\":\"2026-05-04 11:14:53\",\"messageDateTimeUTC\":\"2026-05-04T15:14:53Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"3.5\",\"kph\":\"5.7\",\"knots\":\"3.1\",\"bearing\":188,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51123486, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['39'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-107.97763\",\"32.49525\",1487]},\"properties\":{\"tripId\":136835,\"messageId\":51124475,\"messageDateTime\":\"2026-05-04 12:04:39\",\"messageDateTimeUTC\":\"2026-05-04T16:04:39Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"1.7\",\"kph\":\"2.5\",\"knots\":\"1.5\",\"bearing\":89,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51124475, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['40'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-107.08829\",\"32.25320\",1358]},\"properties\":{\"tripId\":136835,\"messageId\":51126222,\"messageDateTime\":\"2026-05-04 12:54:25\",\"messageDateTimeUTC\":\"2026-05-04T16:54:25Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"80.2\",\"kph\":\"129.0\",\"knots\":\"69.7\",\"bearing\":82,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51126222, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['41'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-106.74026\",\"32.37217\",1322]},\"properties\":{\"tripId\":136835,\"messageId\":51127764,\"messageDateTime\":\"2026-05-04 13:57:55\",\"messageDateTimeUTC\":\"2026-05-04T17:57:55Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"40.8\",\"kph\":\"65.6\",\"knots\":\"35.4\",\"bearing\":42,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51127764, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['42'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-105.96651\",\"32.87575\",1316]},\"properties\":{\"tripId\":136835,\"messageId\":51129020,\"messageDateTime\":\"2026-05-04 14:47:45\",\"messageDateTimeUTC\":\"2026-05-04T18:47:45Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"51.3\",\"kph\":\"82.5\",\"knots\":\"44.6\",\"bearing\":61,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51129020, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['43'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-106.06752\",\"33.27379\",1373]},\"properties\":{\"tripId\":136835,\"messageId\":51131536,\"messageDateTime\":\"2026-05-04 16:26:52\",\"messageDateTimeUTC\":\"2026-05-04T20:26:52Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"73.2\",\"kph\":\"117.7\",\"knots\":\"63.6\",\"bearing\":352,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51131536, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['44'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-105.77657\",\"33.95519\",1880]},\"properties\":{\"tripId\":136835,\"messageId\":51132637,\"messageDateTime\":\"2026-05-04 17:16:44\",\"messageDateTimeUTC\":\"2026-05-04T21:16:44Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"78.5\",\"kph\":\"126.2\",\"knots\":\"68.2\",\"bearing\":29,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51132637, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['45'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-105.18753\",\"34.59369\",1826]},\"properties\":{\"tripId\":136835,\"messageId\":51134029,\"messageDateTime\":\"2026-05-04 18:06:25\",\"messageDateTimeUTC\":\"2026-05-04T22:06:25Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"50.9\",\"kph\":\"81.9\",\"knots\":\"44.2\",\"bearing\":82,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51134029, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['46'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-104.24994\",\"34.47320\",1226]},\"properties\":{\"tripId\":136835,\"messageId\":51135066,\"messageDateTime\":\"2026-05-04 18:56:19\",\"messageDateTimeUTC\":\"2026-05-04T22:56:19Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"59.0\",\"kph\":\"94.8\",\"knots\":\"51.2\",\"bearing\":91,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51135066, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['47'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-103.71741\",\"34.42533\",1325]},\"properties\":{\"tripId\":136835,\"messageId\":51135993,\"messageDateTime\":\"2026-05-04 19:46:16\",\"messageDateTimeUTC\":\"2026-05-04T23:46:16Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"76.0\",\"kph\":\"122.3\",\"knots\":\"66.0\",\"bearing\":95,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51135993, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['48'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-102.84521\",\"34.29890\",1214]},\"properties\":{\"tripId\":136835,\"messageId\":51136839,\"messageDateTime\":\"2026-05-04 20:36:01\",\"messageDateTimeUTC\":\"2026-05-05T00:36:01Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"70.7\",\"kph\":\"113.8\",\"knots\":\"61.4\",\"bearing\":121,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51136839, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['49'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-102.04840\",\"33.73202\",1007]},\"properties\":{\"tripId\":136835,\"messageId\":51137642,\"messageDateTime\":\"2026-05-04 21:25:45\",\"messageDateTimeUTC\":\"2026-05-05T01:25:45Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"77.4\",\"kph\":\"124.5\",\"knots\":\"67.2\",\"bearing\":126,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51137642, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['50'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-101.60400\",\"33.39390\",911]},\"properties\":{\"tripId\":136835,\"messageId\":51145515,\"messageDateTime\":\"2026-05-05 08:33:09\",\"messageDateTimeUTC\":\"2026-05-05T12:33:09Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"71.9\",\"kph\":\"115.7\",\"knots\":\"62.5\",\"bearing\":139,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51145515, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['51'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-101.01877\",\"32.85674\",758]},\"properties\":{\"tripId\":136835,\"messageId\":51146426,\"messageDateTime\":\"2026-05-05 09:22:55\",\"messageDateTimeUTC\":\"2026-05-05T13:22:55Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"73.8\",\"kph\":\"118.8\",\"knots\":\"64.1\",\"bearing\":150,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51146426, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['52'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-100.26532\",\"32.49560\",0]},\"properties\":{\"tripId\":136835,\"messageId\":51147714,\"messageDateTime\":\"2026-05-05 10:12:44\",\"messageDateTimeUTC\":\"2026-05-05T14:12:44Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"79.6\",\"kph\":\"128.1\",\"knots\":\"69.1\",\"bearing\":76,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51147714, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['53'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-99.43622\",\"32.69235\",620]},\"properties\":{\"tripId\":136835,\"messageId\":51148476,\"messageDateTime\":\"2026-05-05 11:02:29\",\"messageDateTimeUTC\":\"2026-05-05T15:02:29Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"73.8\",\"kph\":\"118.8\",\"knots\":\"64.2\",\"bearing\":25,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51148476, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['54'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-99.12259\",\"32.76184\",290]},\"properties\":{\"tripId\":136835,\"messageId\":51149575,\"messageDateTime\":\"2026-05-05 11:52:20\",\"messageDateTimeUTC\":\"2026-05-05T15:52:20Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"67.5\",\"kph\":\"108.7\",\"knots\":\"58.7\",\"bearing\":96,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51149575, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['55'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-98.80060\",\"32.74088\",422]},\"properties\":{\"tripId\":136835,\"messageId\":51150947,\"messageDateTime\":\"2026-05-05 12:52:10\",\"messageDateTimeUTC\":\"2026-05-05T16:52:10Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"73.7\",\"kph\":\"118.6\",\"knots\":\"64.0\",\"bearing\":277,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51150947, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['56'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-98.83203\",\"32.27387\",509]},\"properties\":{\"tripId\":136835,\"messageId\":51152491,\"messageDateTime\":\"2026-05-05 13:42:05\",\"messageDateTimeUTC\":\"2026-05-05T17:42:05Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"60.8\",\"kph\":\"98.0\",\"knots\":\"52.9\",\"bearing\":93,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51152491, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['57'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-98.34139\",\"32.08705\",443]},\"properties\":{\"tripId\":136835,\"messageId\":51153763,\"messageDateTime\":\"2026-05-05 14:31:49\",\"messageDateTimeUTC\":\"2026-05-05T18:31:49Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.0\",\"kph\":\"0.1\",\"knots\":\"0.0\",\"bearing\":139,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51153763, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['58'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-96.96277\",\"32.89600\",86]},\"properties\":{\"tripId\":136835,\"messageId\":51170863,\"messageDateTime\":\"2026-05-06 11:46:56\",\"messageDateTimeUTC\":\"2026-05-06T15:46:56Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.0\",\"kph\":\"0.1\",\"knots\":\"0.0\",\"bearing\":333,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51170863, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['59'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-96.87061\",\"32.39389\",164]},\"properties\":{\"tripId\":136835,\"messageId\":51172306,\"messageDateTime\":\"2026-05-06 12:42:18\",\"messageDateTimeUTC\":\"2026-05-06T16:42:18Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"72.4\",\"kph\":\"116.5\",\"knots\":\"62.9\",\"bearing\":200,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51172306, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['60'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-97.13088\",\"31.55930\",116]},\"properties\":{\"tripId\":136835,\"messageId\":51173787,\"messageDateTime\":\"2026-05-06 13:46:26\",\"messageDateTimeUTC\":\"2026-05-06T17:46:26Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"2.3\",\"kph\":\"3.6\",\"knots\":\"2.0\",\"bearing\":42,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51173787, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['61'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-96.90051\",\"32.19717\",0]},\"properties\":{\"tripId\":136835,\"messageId\":51175235,\"messageDateTime\":\"2026-05-06 14:36:32\",\"messageDateTimeUTC\":\"2026-05-06T18:36:32Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"37.5\",\"kph\":\"60.3\",\"knots\":\"32.6\",\"bearing\":28,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51175235, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['62'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-96.82317\",\"32.64207\",191]},\"properties\":{\"tripId\":136835,\"messageId\":51177315,\"messageDateTime\":\"2026-05-06 16:04:44\",\"messageDateTimeUTC\":\"2026-05-06T20:04:44Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"68.6\",\"kph\":\"110.5\",\"knots\":\"59.6\",\"bearing\":359,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51177315, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['63'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-96.81604\",\"32.91421\",188]},\"properties\":{\"tripId\":136835,\"messageId\":51178398,\"messageDateTime\":\"2026-05-06 16:54:33\",\"messageDateTimeUTC\":\"2026-05-06T20:54:33Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"51.0\",\"kph\":\"82.0\",\"knots\":\"44.3\",\"bearing\":357,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51178398, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['64'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-96.80056\",\"33.32494\",206]},\"properties\":{\"tripId\":136835,\"messageId\":51179512,\"messageDateTime\":\"2026-05-06 17:49:21\",\"messageDateTimeUTC\":\"2026-05-06T21:49:21Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"17.8\",\"kph\":\"28.6\",\"knots\":\"15.5\",\"bearing\":28,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51179512, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['65'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-96.69732\",\"33.65173\",254]},\"properties\":{\"tripId\":136835,\"messageId\":51180550,\"messageDateTime\":\"2026-05-06 18:39:51\",\"messageDateTimeUTC\":\"2026-05-06T22:39:51Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"65.3\",\"kph\":\"105.2\",\"knots\":\"56.8\",\"bearing\":4,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51180550, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['66'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-96.33978\",\"33.61316\",206]},\"properties\":{\"tripId\":136835,\"messageId\":51181764,\"messageDateTime\":\"2026-05-06 19:29:02\",\"messageDateTimeUTC\":\"2026-05-06T23:29:02Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"75.3\",\"kph\":\"121.2\",\"knots\":\"65.5\",\"bearing\":106,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51181764, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['67'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-95.55557\",\"33.69296\",185]},\"properties\":{\"tripId\":136835,\"messageId\":51182658,\"messageDateTime\":\"2026-05-06 20:20:14\",\"messageDateTimeUTC\":\"2026-05-07T00:20:14Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.1\",\"kph\":\"0.1\",\"knots\":\"0.1\",\"bearing\":180,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51182658, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['68'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-95.27243\",\"33.66117\",128]},\"properties\":{\"tripId\":136835,\"messageId\":51190821,\"messageDateTime\":\"2026-05-07 08:50:13\",\"messageDateTimeUTC\":\"2026-05-07T12:50:13Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"63.6\",\"kph\":\"102.4\",\"knots\":\"55.3\",\"bearing\":92,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51190821, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['69'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-94.36935\",\"33.47084\",110]},\"properties\":{\"tripId\":136835,\"messageId\":51192038,\"messageDateTime\":\"2026-05-07 09:44:59\",\"messageDateTimeUTC\":\"2026-05-07T13:44:59Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"70.0\",\"kph\":\"112.5\",\"knots\":\"60.8\",\"bearing\":85,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51192038, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['70'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-93.73248\",\"33.37514\",62]},\"properties\":{\"tripId\":136835,\"messageId\":51193068,\"messageDateTime\":\"2026-05-07 10:34:47\",\"messageDateTimeUTC\":\"2026-05-07T14:34:47Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"49.5\",\"kph\":\"79.6\",\"knots\":\"43.0\",\"bearing\":128,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51193068, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['71'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-93.29602\",\"33.35302\",107]},\"properties\":{\"tripId\":136835,\"messageId\":51194160,\"messageDateTime\":\"2026-05-07 11:24:41\",\"messageDateTimeUTC\":\"2026-05-07T15:24:41Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.8\",\"kph\":\"1.3\",\"knots\":\"0.7\",\"bearing\":56,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51194160, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['72'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-93.99621\",\"33.46636\",146]},\"properties\":{\"tripId\":136835,\"messageId\":51195366,\"messageDateTime\":\"2026-05-07 12:14:51\",\"messageDateTimeUTC\":\"2026-05-07T16:14:51Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"32.0\",\"kph\":\"51.6\",\"knots\":\"27.8\",\"bearing\":334,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51195366, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['73'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-94.33984\",\"33.46814\",170]},\"properties\":{\"tripId\":136835,\"messageId\":51197011,\"messageDateTime\":\"2026-05-07 13:05:22\",\"messageDateTimeUTC\":\"2026-05-07T17:05:22Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"36.1\",\"kph\":\"58.1\",\"knots\":\"31.4\",\"bearing\":260,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51197011, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['74'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-95.00588\",\"33.20885\",143]},\"properties\":{\"tripId\":136835,\"messageId\":51198236,\"messageDateTime\":\"2026-05-07 13:55:00\",\"messageDateTimeUTC\":\"2026-05-07T17:55:00Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"9.6\",\"kph\":\"15.4\",\"knots\":\"8.3\",\"bearing\":311,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51198236, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['75'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-95.57776\",\"33.13025\",116]},\"properties\":{\"tripId\":136835,\"messageId\":51199502,\"messageDateTime\":\"2026-05-07 14:44:48\",\"messageDateTimeUTC\":\"2026-05-07T18:44:48Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"70.3\",\"kph\":\"113.2\",\"knots\":\"61.1\",\"bearing\":258,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51199502, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['76'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-96.10944\",\"33.06203\",185]},\"properties\":{\"tripId\":136835,\"messageId\":51201829,\"messageDateTime\":\"2026-05-07 16:22:10\",\"messageDateTimeUTC\":\"2026-05-07T20:22:10Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"28.7\",\"kph\":\"46.3\",\"knots\":\"25.0\",\"bearing\":173,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51201829, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['77'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-96.68809\",\"32.79677\",0]},\"properties\":{\"tripId\":136835,\"messageId\":51203339,\"messageDateTime\":\"2026-05-07 17:12:21\",\"messageDateTimeUTC\":\"2026-05-07T21:12:21Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"58.4\",\"kph\":\"93.9\",\"knots\":\"50.7\",\"bearing\":240,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51203339, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['78'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-97.00491\",\"32.83626\",182]},\"properties\":{\"tripId\":136835,\"messageId\":51204555,\"messageDateTime\":\"2026-05-07 18:06:40\",\"messageDateTimeUTC\":\"2026-05-07T22:06:40Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.0\",\"kph\":\"0.0\",\"knots\":\"0.0\",\"bearing\":180,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51204555, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['79'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-97.06751\",\"32.83212\",0]},\"properties\":{\"tripId\":136835,\"messageId\":51206006,\"messageDateTime\":\"2026-05-07 19:10:50\",\"messageDateTimeUTC\":\"2026-05-07T23:10:50Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"22.7\",\"kph\":\"36.5\",\"knots\":\"19.7\",\"bearing\":259,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51206006, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['80'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-96.96225\",\"32.89610\",260]},\"properties\":{\"tripId\":136835,\"messageId\":51217562,\"messageDateTime\":\"2026-05-08 09:21:52\",\"messageDateTimeUTC\":\"2026-05-08T13:21:52Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.4\",\"kph\":\"0.7\",\"knots\":\"0.4\",\"bearing\":114,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51217562, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['81'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-97.00793\",\"32.83778\",170]},\"properties\":{\"tripId\":136835,\"messageId\":51219887,\"messageDateTime\":\"2026-05-08 10:44:40\",\"messageDateTimeUTC\":\"2026-05-08T14:44:40Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"0.1\",\"kph\":\"0.1\",\"knots\":\"0.1\",\"bearing\":36,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; color: #000;\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51219887, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['82'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-96.86386\",\"32.86726\",134]},\"properties\":{\"tripId\":136835,\"messageId\":51221716,\"messageDateTime\":\"2026-05-08 11:49:30\",\"messageDateTimeUTC\":\"2026-05-08T15:49:30Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"13.4\",\"kph\":\"21.6\",\"knots\":\"11.6\",\"bearing\":5,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
<\/a>';\n\n m = new mapboxgl.Marker({ 'element': a, 'anchor': 'bottom-left' })\n .setLngLat(feature.geometry.coordinates)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n markersWithPics.push(m);\n hasPic = true;\n }\n\n if (feature.properties.messageType === 'TRACK') {\n a = document.createElement('div');\n bearing = feature.properties.bearing;\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle;\";\n a.innerHTML = '

';\n } else if (feature.properties.messageType === 'CUST') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'OK') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'HELP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '
';\n } else if (feature.properties.messageType === 'TRKRES') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else if (feature.properties.messageType === 'TRKSTP') {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; font-size: 6px; vertical-align: middle; color: \" + feature.properties.color + \";\";\n a.innerHTML = '![]()
';\n } else {\n a = document.createElement('div');\n a.style = \"color: \" + feature.properties.color + \"; background-color: #eee; padding: 2px; border: 1px solid #000; border-radius: 4px;\";\n a.innerHTML = feature.properties.icon;\n }\n\n p = new mapboxgl.Popup({ offset: 3, maxWidth: 'none', closeButton: true });\n p.on('open', function(e) { displayPopup(e.target, 136835, 51221716, 'TRACK'); });\n\n var anchor = 'center';\n var m = new mapboxgl.Marker({ 'element': a, 'rotation': bearing, 'color': feature.properties.color, 'anchor': anchor })\n .setLngLat(feature.geometry.coordinates)\n .setPopup(p)\n .addTo(map);\n bounds.extend(feature.geometry.coordinates);\n markers.push(m);\n if (hasPic) {\n picListMarkers['83'] = m;\n plHtml += '<\/div>';\n }\n }\n var feature = {\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[\"-96.83969\",\"32.77902\",131]},\"properties\":{\"tripId\":136835,\"messageId\":51223622,\"messageDateTime\":\"2026-05-08 12:39:19\",\"messageDateTimeUTC\":\"2026-05-08T16:39:19Z\",\"timezone\":\"America\\\/New_York\",\"messageType\":\"TRACK\",\"messageTypeDescription\":\"Tracking\",\"messageSource\":\"SPOT Tracker\",\"mph\":\"21.6\",\"kph\":\"34.7\",\"knots\":\"18.8\",\"bearing\":256,\"nearest\":null,\"messageText\":null,\"smallPic\":null,\"largePic\":null,\"color\":\"#0f0\",\"icon\":\"<\\\/i>\",\"profileIcon\":\"fa-solid fa-arrow-alt-up fa-bounce\"}};\n\n var a = null;\n bearing = 0;\n var hasPic = false;\n if (feature.geometry.type === 'Point') {\n if (feature.properties.smallPic !== undefined && feature.properties.smallPic !== null && feature.properties.smallPic.length > 0 && feature.properties.largePic !== undefined && feature.properties.largePic !== null && feature.properties.largePic.length > 0) {\n a = document.createElement('div');\n a.style = \"display: inline-block; padding: 0; margin: 0; text-align: center; vertical-align: middle; opacity: 0.8; color: \" + feature.properties.color + \";\";\n a.innerHTML = '