Route Oklahoma City, OK to Snyder, TX (2023)





');var width=jQuery(window).width();var split=width/3;var parts=width/6; jQuery("#mobileVersionExtra").html('

Route Oklahoma City, OK to Snyder, TX (1)Route Oklahoma City, OK to Snyder, TX (2)

'); //jQuery("#mobileVersionExtra").html('

searchinfo

'); jQuery("#extraCode").html('Route Oklahoma City, OK to Snyder, TX (3)'); jQuery("#menu5").css({"position": "fixed","top": "0%","margin-left":"0px","margin-top":"0px","left":"0%","z-index":"4","width":width}); // $("#toggle-menu").css({"padding":"0px","position": "fixed","top": "0%","margin-left":parts-20,"margin-top":"5px","left":"0%","z-index":"4","visibility":"visible"});// $("#info").css({"padding":"0px","position": "fixed","top": "0%","margin-left":split*2+parts-20,"margin-top":"5px","left":"0%","z-index":"4","visibility":"visible"});// $("#search").css({"padding":"0px","position": "fixed","top": "0%","margin-left":split+parts-25,"margin-top":"5px","left":"0%","z-index":"4","visibility":"visible"}); jQuery("#toggle-menu").css({"padding":"0px","position": "fixed","top": "0%","margin-left":parts-16,"margin-top":"5px","left":"0%","z-index":"4","visibility":"visible"}); jQuery("#info").css({"padding":"0px","position": "fixed","top": "0%","margin-left":split*2+parts-16,"margin-top":"5px","left":"0%","z-index":"4","visibility":"visible"}); jQuery("#search").css({"padding":"0px","position": "fixed","top": "0%","margin-left":split+parts-16,"margin-top":"5px","left":"0%","z-index":"4","visibility":"visible"}); /*$('.ui-icon-info').css("background-color","green");*/ var width=jQuery(window).width();var middle=width/2;var middleVertical=jQuery(window).height()/2;if(isIphone) jQuery("#closeButton").css({"left":middle,"margin-left":"140px"});else jQuery("#closeButton").css({"left":middle,"margin-left":"138px"}); jQuery("#previewScreen").css({"position": "fixed","background-color":"#fff","width":width,"height":"100%","display":"inline","margin":"0","padding":"0"}); jQuery("#imgpreview").css({"position": "fixed","top":middleVertical,"left":middle,"margin-top":"-33px","margin-left":"-33px"});}

From: Oklahoma City, County: Oklahoma State: OklahomaTo: Snyder, County: State: Texas

Distance: miles

(Video) The Texas Bucket List - Ponderosa Restaurant & Motel in Snyder

Travel time:

Altitude Oklahoma City, OKAltitude Snyder, TXFrom Oklahoma City, OK to other cities


Oklahoma City, OK information


ZIP codes: , Zip codes

Area code: 405

Population: 579999

Elevation: 1201ft (366m)

County: Oklahoma

Oklahoma City OK zip code

(Video) 05-01-2022 Snyder, TX - Tornado's Damage Scurry Co, TX

Postcode areas of Oklahoma City are , Zip codes. Area code of Oklahoma City is 405. Oklahoma City has 1201ft (366m) altitude. The coordinates of Oklahoma City are: 35.48222 lat, -97.53500 lng. Oklahoma City belongs to Oklahoma County.

Snyder, TX information


ZIP codes: 79549, 79550

Area code(s): 325

Population: 11202

Elevation: 2320ft (707m)

Snyder TX zip code

Postcode areas of Snyder are 79549, 79550. Area code(s) of Snyder is 325. Snyder has 2320ft (707m) altitude. The coordinates of Snyder are: 32.71556 lat, -100.91444 lng.


*sources: wikipedia.org

" ).text( message ).prependTo( "#log" ); jQuery( "#log" ).scrollTop( 0 ); } jQuery( "#to2" ).autocomplete({delay: 200,//autoFocus: true, source: function( request, response ) { valueSelect2=''; idSelect2=''; $.ajax( { url: baseurl+"/ajax/createItems4.php", dataType: "json", data: { word: request.term,currentUrl:currentUrl }, success: function(data) { if(data!="" && !(typeof data[0] === 'undefined') && !(typeof data[0]['value'] === 'undefined') && !(typeof data[0]['id'] === 'undefined') ){valueFocus=data[0]['value'];idFocus=data[0]['id'];} // jQuery('.spinner').hide(); response(data); } } ); }, minLength: 1, search: function( event, ui ) { // jQuery('.spinner').show(); },focus: function (event, ui) { this.value = ui.item.label; //valueFocus=ui.item.value; // idFocus=ui.item.id; // or jQuery('#autocomplete-input').val(ui.item.label);//alert(ui.item.id); // Prevent the default focus behavior. event.preventDefault(); // or return false;},/*change:function(event){ jQuery("#from").val(""); return false; },*/ select: function( event, ui ) { //log( "Selected: " + ui.item.value + " aka " + ui.item.id ); var parts=ui.item.id.split("!");valueSelect2=ui.item.value;idSelect2=ui.item.id;autocompleteFun(2);//showPostcode(ui.item.value,parts[2],parts[1],parts[0],15);return false; } } ).autocomplete("instance")._renderItem = function(ul, item) { return jQuery("

  • ") .append("

    " + item.label + "

    ") .appendTo(ul); }; } ); if(!isMobile) { jQuery( function() { function log( message ) { jQuery( "

    " ).text( message ).prependTo( "#log" ); jQuery( "#log" ).scrollTop( 0 ); } jQuery( "#topic_title" ).autocomplete({delay: 200,//autoFocus: true, source: function( request, response ) { valueSelect=''; idSelect=''; $.ajax( { url: baseurl+"/ajax/createItems4.php", dataType: "json", data: { word: request.term,currentUrl:currentUrl }, success: function(data) { if(data!="" && !(typeof data[0] === 'undefined') && !(typeof data[0]['value'] === 'undefined') && !(typeof data[0]['id'] === 'undefined') ){valueFocus=data[0]['value'];idFocus=data[0]['id'];} // jQuery('.spinner').hide(); response(data); } } ); }, minLength: 1, search: function( event, ui ) { // jQuery('.spinner').show(); },focus: function (event, ui) { this.value = ui.item.label; // valueFocus=ui.item.value; //idFocus=ui.item.id; // or jQuery('#autocomplete-input').val(ui.item.label);//alert(ui.item.id); // Prevent the default focus behavior. event.preventDefault(); // or return false;}, select: function( event, ui ) { //log( "Selected: " + ui.item.value + " aka " + ui.item.id ); var parts=ui.item.id.split("!");//showPostcode(ui.item.value,parts[2],parts[1],parts[0],15);valueSelect=ui.item.value;idSelect=ui.item.id;autocompleteFun(3);return false; } } ).autocomplete("instance")._renderItem = function(ul, item) { return jQuery("

  • ") .append("

    " + item.label + "

    ") .appendTo(ul); }; } ); jQuery( function() { function log( message ) { jQuery( "

    " ).text( message ).prependTo( "#log" ); jQuery( "#log" ).scrollTop( 0 ); } jQuery( "#topic_title2" ).autocomplete({delay: 200,//autoFocus: true, source: function( request, response ) { valueSelect2=''; idSelect2=''; $.ajax( { url: baseurl+"/ajax/createItems4.php", dataType: "json", data: { word: request.term,currentUrl:currentUrl }, success: function(data) { if(data!="" && !(typeof data[0] === 'undefined') && !(typeof data[0]['value'] === 'undefined') && !(typeof data[0]['id'] === 'undefined') ){valueFocus=data[0]['value'];idFocus=data[0]['id'];} // jQuery('.spinner').hide(); response(data); } } ); }, minLength: 1, search: function( event, ui ) { // jQuery('.spinner').show(); },focus: function (event, ui) { this.value = ui.item.label; //valueFocus=ui.item.value; // idFocus=ui.item.id; // or jQuery('#autocomplete-input').val(ui.item.label);//alert(ui.item.id); // Prevent the default focus behavior. event.preventDefault(); // or return false;}, select: function( event, ui ) { //log( "Selected: " + ui.item.value + " aka " + ui.item.id ); var parts=ui.item.id.split("!");//showPostcode(ui.item.value,parts[2],parts[1],parts[0],15);valueSelect2=ui.item.value;idSelect2=ui.item.id;autocompleteFun(4);return false; } } ).autocomplete("instance")._renderItem = function(ul, item) { return jQuery("

  • ") .append("

    " + item.label + "

    ") .appendTo(ul); }; } ); }jQuery("#routereverse").click(function(e){reverseOrAlternativeFired=2;e.stopImmediatePropagation(); //calcRoute2(markerTo.getPosition(),markerFrom.getPosition()); if(reverseRouteCount==1) reverseRouteCount=2; else reverseRouteCount=1; if(marker!=='undefined' && marker2!=='undefined' && defineRouteFromUrlNOsearch==2 && fromUrl!='' && toUrl!='') { if(reverseRouteCount==1) setRouteByNames(fromUrl,toUrl,marker2.getLatLng().lat+','+marker2.getLatLng().lng,marker.getLatLng().lat+','+marker.getLatLng().lng);elsesetRouteByNames(toUrl,fromUrl,marker2.getLatLng().lat+','+marker2.getLatLng().lng,marker.getLatLng().lat+','+marker.getLatLng().lng);return; } if(marker!=='undefined' && marker2!=='undefined')setRouteByNames('','',marker2.getLatLng().lat+','+marker2.getLatLng().lng,marker.getLatLng().lat+','+marker.getLatLng().lng);});var startIcon = L.icon({ iconUrl: baseurl+'/images/start.png', //shadowUrl: 'leaf-shadow.png', /* iconSize: [38, 95], // size of the icon /*shadowSize: [50, 64], // size of the shadow*/ iconAnchor: [11, 40], // point of the icon which will correspond to marker's location /*shadowAnchor: [4, 62], // the same for the shadow*/ popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor});var endIcon = L.icon({ iconUrl: baseurl+'/images/end.png', iconAnchor: [11, 40], // point of the icon which will correspond to marker's locationpopupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor }); var dotIcon = L.icon({ iconUrl: baseurl+'/images/dot.png', iconAnchor: [3, 5], // point of the icon which will correspond to marker's locationpopupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor });var diodiaIcon = L.icon({ iconUrl: baseurl+'/images/blue.png', iconAnchor: [16, 32], // point of the icon which will correspond to marker's locationpopupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor});var diodia2Icon = L.icon({ iconUrl: baseurl+'/images/tollstation.png', iconAnchor: [16, 37], // point of the icon which will correspond to marker's locationpopupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor});var diodia3Icon = L.icon({ iconUrl: baseurl+'/images/tollstation2.png', iconAnchor: [16, 37], // point of the icon which will correspond to marker's locationpopupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor});var countryIcon = L.icon({ iconUrl: baseurl+'/images/country5.png', //iconAnchor: [75, 15], // point of the icon which will correspond to marker's location//popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor iconAnchor: [50, 12], // point of the icon which will correspond to marker's locationpopupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor});var cyprusIcon = L.icon({ iconUrl: baseurl+'/images/cyprus4.png', //iconAnchor: [75, 15], // point of the icon which will correspond to marker's location//popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor iconAnchor: [30, 10], // point of the icon which will correspond to marker's locationpopupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor});var famagustaIcon = L.icon({ iconUrl: baseurl+'/images/famagusta2.png', //iconAnchor: [75, 15], // point of the icon which will correspond to marker's location//popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor iconAnchor: [45, 10], // point of the icon which will correspond to marker's locationpopupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor});var dotIcon = L.icon({ iconUrl: baseurl+'/images/dot.png', //iconAnchor: [75, 15], // point of the icon which will correspond to marker's location//popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor /* iconAnchor: [45, 10], // point of the icon which will correspond to marker's locationpopupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor*/});function showExtraMarkers(){}function initialize() { //alert(carConsumtion);if(map==null){if(isMobile)//Punto finale //Cancella tutto [{text: 'Punto di partenza',callback: menu1},{text: 'Punto finale',callback: menu2},{text: 'Cancella tutto',callback: menu3}]map = L.map('map-canvas', {center: [39.0277188,-98.1298828],zoom:3, gestureHandling: true,contextmenu: true,contextmenuWidth: 140,contextmenuItems: [{text: 'Starting point',callback: menu1},{text: 'Ending point',callback: menu2},'-',{text: 'Clear points',callback: menu3}],fullscreenControl: true,fullscreenControlOptions: {position: 'topleft'}});//.setView([53.83,-2.087], 5);elsemap = L.map('map-canvas', {center: [39.0277188,-98.1298828],zoom:4,contextmenu: true,contextmenuWidth: 140,contextmenuItems: [{text: 'Starting point',callback: menu1},{text: 'Ending point',callback: menu2},'-',{text: 'Clear points',callback: menu3}],fullscreenControl: true,fullscreenControlOptions: {position: 'topleft'}});var shortLat=0,shortLng=0; simpleLat=shortLat; simpleLng=shortLng;L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: '© OpenStreetMap contributors',minZoom: 2,maxZoom: 19}).addTo(map);map.doubleClickZoom.disable();map.on('dblclick', function(e) { var cmenu=map.contextmenu;cmenu.showAt(e.latlng); });showExtraMarkers();map.on('zoomstart', function() {showExtraMarkers();});map.on('zoomend', function() {showExtraMarkers();});/*;*/if(fromUrl!='' && toUrl!=''){var coordsApoints,coordsBpoints;$.ajax({ url: baseurl+"/ajax/createItems444.php", dataType: "json", data: { text: fromUrl,url:urlCityA }, success: function(data) { urlCityA=''; if(data!="" && !(typeof data[0] === 'undefined') && !(typeof data[0]['lat'] === 'undefined') && !(typeof data[0]['lon'] === 'undefined') ) { coordsApoints=data[0]['lat']+","+data[0]['lon']; $.ajax( { url: baseurl+"/ajax/createItems444.php", dataType: "json", data: { text: toUrl,url:urlCityB }, success: function(data) { urlCityB=''; if(data!="" && !(typeof data[0] === 'undefined') && !(typeof data[0]['lat'] === 'undefined') && !(typeof data[0]['lon'] === 'undefined') ) { coordsBpoints=data[0]['lat']+","+data[0]['lon']; setRouteByNames(fromUrl,toUrl,coordsApoints,coordsBpoints);//1 all roads }}}) }}});}else if(pointOne!='' && pointTwo!=''){if(nameOfPointA!='')partenzaStart=nameOfPointA;//else//partenzaStart=data['waypoints'][0]['name'];if(nameOfPointB!='')arrivoEnd=nameOfPointB;if(nameOfPointA!='' && nameOfPointB!='')citiesNamesExist=1;elsecitiesNamesExist=2; setRouteByNames('','',pointOne,pointTwo);} } } jQuery("#withoutHighways").change(function(e){//alert("aa:"+fromUrl+" "+toUrl);reverseOrAlternativeFired=2;e.stopImmediatePropagation();//alert(jQuery("#withoutHighways").find('option:selected').val());if(fromUrl!='' && toUrl!='' && defineRouteFromUrlNOsearch==2 && marker!=='undefined' && marker2!=='undefined'){if(reverseRouteCount==1)setRouteByNames(fromUrl,toUrl,marker.getLatLng().lat+","+marker.getLatLng().lng,marker2.getLatLng().lat+","+marker2.getLatLng().lng);elsesetRouteByNames(toUrl,fromUrl,marker.getLatLng().lat+","+marker.getLatLng().lng,marker2.getLatLng().lat+","+marker2.getLatLng().lng);return;}if(marker!=='undefined' && marker2!=='undefined')setRouteByNames('','',marker.getLatLng().lat+","+marker.getLatLng().lng,marker2.getLatLng().lat+","+marker2.getLatLng().lng);} ); jQuery("#withoutHighways").change(function() { /*alert("2"); if(markerFrom!=null && markerTo!=null)setRouteByNames(fromUrl,toUrl,'','');*///calcRoute(markerFrom.getPosition(),markerTo.getPosition()); });jQuery("#ltorgallon").change(function(){if(jQuery("#ltorgallon").find('option:selected').val()==1){jQuery("#plusConsum").html("+");jQuery("#minusConsum").html("-");printFuelConsumtpion(totalConsumption,fuelPrice); }else if(jQuery("#ltorgallon").find('option:selected').val()==2){jQuery("#plusConsum").html("-");jQuery("#minusConsum").html("+");printFuelConsumtpion(totalConsumption,fuelPrice);}});jQuery("#plus").click(function(){ var pricePerLiter=parseFloat(fuelPrice); if(pricePerLiter<=15.2) { pricePerLiter=Math.round((pricePerLiter+0.01)*100)/100; //jQuery("#fuelPrice").html(pricePerLiter+" €/lt"); fuelPrice=pricePerLiter; printFuelConsumtpion(totalConsumption,fuelPrice); createCookie("carConsumtion",carConsumtion,2); createCookie("fuelPrice",fuelPrice,2); createCookie("fuelType",jQuery("#fuelchoice").find('option:selected').val(),2); /*jQuery.post("ajax/cookie.php", { carConsumtion:carConsumtion+"", fuelPrice:fuelPrice+"", fuelType:jQuery("#fuelchoice").find('option:selected').val()+"" }, function(data,status){ });*/ }});jQuery("#minus").click(function(){ var pricePerLiter=parseFloat(fuelPrice); if(pricePerLiter>=0.4) { pricePerLiter=Math.round((pricePerLiter-0.01)*100)/100; //jQuery("#fuelPrice").html(pricePerLiter+" €/lt"); fuelPrice=pricePerLiter; printFuelConsumtpion(totalConsumption,fuelPrice); createCookie("carConsumtion",carConsumtion,2); createCookie("fuelPrice",fuelPrice,2); createCookie("fuelType",jQuery("#fuelchoice").find('option:selected').val(),2); /* jQuery.post("ajax/cookie.php", { carConsumtion:carConsumtion+"", fuelPrice:fuelPrice+"", fuelType:jQuery("#fuelchoice").find('option:selected').val()+"" }, function(data,status){ });*/ }});jQuery("#plusConsum").click(function(){ var carConsumTemp=parseFloat(carConsumtion); if(carConsumTemp<=150 /*&& jQuery("#ltorgallon").find('option:selected').val()==1*/) { if(carConsumTemp<10) carConsumTemp=Math.round((carConsumTemp+0.2)*10)/10; else carConsumTemp=Math.round((carConsumTemp+0.5)*10)/10; jQuery("#carConsumption").html(carConsumTemp); carConsumtion=carConsumTemp; totalConsumption=Math.round((totalKM/carConsumtion)*10)/10; printFuelConsumtpion(totalConsumption,fuelPrice); createCookie("carConsumtion",carConsumtion,2); createCookie("fuelPrice",fuelPrice,2); createCookie("fuelType",jQuery("#fuelchoice").find('option:selected').val(),2); /* jQuery.post("ajax/cookie.php", { carConsumtion:carConsumtion+"", fuelPrice:fuelPrice+"", fuelType:jQuery("#fuelchoice").find('option:selected').val()+"" }, function(data,status){ });*/ }});jQuery("#minusConsum").click(function(){ var carConsumTemp=parseFloat(carConsumtion); if(carConsumTemp>=2.1 /*&& jQuery("#ltorgallon").find('option:selected').val()==1*/) { if(carConsumTemp<10) carConsumTemp=Math.round((carConsumTemp-0.2)*10)/10; elsecarConsumTemp=Math.round((carConsumTemp-0.5)*10)/10; jQuery("#carConsumption").html(carConsumTemp); carConsumtion=carConsumTemp; totalConsumption=Math.round((totalKM/carConsumtion)*10)/10; printFuelConsumtpion(totalConsumption,fuelPrice); createCookie("carConsumtion",carConsumtion,2); createCookie("fuelPrice",fuelPrice,2); createCookie("fuelType",jQuery("#fuelchoice").find('option:selected').val(),2); /*jQuery.post("ajax/cookie.php", { carConsumtion:carConsumtion+"", fuelPrice:fuelPrice+"", fuelType:jQuery("#fuelchoice").find('option:selected').val()+"" }, function(data,status){ //alert("Data: " + data + "\nStatus: " + status); });*/ }});function clearMap() { for(i in map._layers) { if(map._layers[i]._path != undefined) { try { map.removeLayer(map._layers[i]); } catch(e) { console.log("problem with " + e + map._layers[i]); } } }for(i=markersArrayItaly.length-1;i>=0;i--){map.removeLayer(markersArrayItaly[i]);}if(firstTimeInRouteThereIsDistanceInDB!=1){jQuery("#timetravel").html("0 min ");jQuery("#distance").html("0 mi, ");}elsefirstTimeInRouteThereIsDistanceInDB=0;if(straightPath!=null)map.removeLayer(straightPath);if(markerRio!=null)map.removeLayer(markerRio);markersArrayItaly=[];markersCounter=0;markerRio=null;straightPath=null;if(popup3!=null)map.removeLayer(popup3);popup3=null;if(popup2!=null)map.removeLayer(popup2);popup2=null;if(popup1!=null)map.removeLayer(popup1);popup1=null;} //function showInfo(route2,routeIndex)jQuery('#isTollSelected').click(function () { if(jQuery('#isTollSelected').is(':checked')) showMarkersToll(); else hideMarkersToll(); });function hideMarkersToll(){for(i=markersArrayItaly.length-1;i>=0;i--){map.removeLayer(markersArrayItaly[i]);}if(markerRio!=null){map.removeLayer(markerRio);}if(straightPath!=null){map.removeLayer(straightPath);}}function showMarkersToll(){ for(i=0;i20000){speedKmPerHour=(distance*3600/duration)/1000;if(speedKmPerHour<27)return true;}return false;}function metersInMiles(m){if((m/1609.344)<100)return Math.round((m/1609.344)*10)/10+" mi";elsereturn Math.round(m/1609.344)+" mi";}function KmInGroundAndSea(result,routeIndex,routeChoice){var totalKM2=0;var totalTime2=0;if(routeIndex==routeChoice){//totalKM=result['summary']['lengthInMeters']; //totalTime=result['summary']['travelTimeInSeconds']; // alert(JSON.stringify(result['routes']));totalKM=result['distance'];//['lengthInMeters']; totalTime=result['duration'];}else{ totalKM2=result['distance']; totalTime2=result['duration'];} tempMeters=0; tempTime=0; i=0; j=0; startMeters=-1;startSeconds=0;endMeters=0;endSeconds=0; var i=0; while(result['legs'][i]) { j=0; while(result['legs'][i]['steps'][j]) { if(result['legs'][i]['steps'][j]['mode']=='ferry') { endMeters+=result['legs'][i]['steps'][j]['distance']; endSeconds+=result['legs'][i]['steps'][j]['duration']; } j++; } i++; } if(totalKM2>endMeters)totalKM2=totalKM2-endMeters; if(totalTime2>endSeconds)totalTime2=totalTime2-endSeconds; if(totalKM>endMeters) totalKM=totalKM-endMeters; if(totalTime>endSeconds) totalTime=totalTime-endSeconds;if(routeIndex!=routeChoice){ totalKMferry2=endMeters; totalTimeferry2=endSeconds; return [totalKM2,totalTime2,totalKMferry2,totalTimeferry2];}else{ totalKMferry=endMeters; totalTimeferry=endSeconds; return [totalKM,totalTime,totalKMferry,totalTimeferry];} //return [totalKM2,totalTime2,totalKMferry2,totalTimeferry2];}function showInfo(result,routeIndex){//console.log(result.length);if(reverseRouteCount==1){jQuery("#partenza").html("From: "+partenzaStart);jQuery("#arrivo").html("To: "+arrivoEnd);setPermantlyUrl(partenzaStart,arrivoEnd,marker.getLatLng(),marker2.getLatLng());//marker2.getLatLng().lat}else{jQuery("#partenza").html("From: "+arrivoEnd);jQuery("#arrivo").html("To: "+partenzaStart);setPermantlyUrl(arrivoEnd,partenzaStart,marker.getLatLng(),marker2.getLatLng());} totalKM = 0; totalTime=0; totalKMferry = 0; totalTimeferry=0; routeOnlyWithVehicle=1; totalKM=result['routes'][routeIndex]['distance']; totalTime=result['routes'][routeIndex]['duration']; totalKMferry=0; totalTimeferry=0;varrouteA=0;var routeB=0;if(routeIndex==0){routeA=1;routeB=2;}else if(routeIndex==1){routeA=0;routeB=2;}else{routeA=0;routeB=1;} var res=[]; var resTemp=KmInGroundAndSea(result['routes'][0],routeIndex,0); res.push(resTemp); kmInRoutes[0]=resTemp; if(result['routes'][1]) {res2=KmInGroundAndSea(result['routes'][1],routeIndex,1);kmInRoutes[1]=res2;res.push(res2); } if(result['routes'][2]) { res3=KmInGroundAndSea(result['routes'][2],res,routeIndex,2); kmInRoutes[2]=res3; res.push(res3); }addDirections(result['routes'],res,routeIndex);var focusRoute=parseInt(routeIndex)+1;if(result['routes'][routeB]){point2=Math.round((result['routes'][routeB]['geometry'].length/5)*1);popup3 = L.popup({ autoClose: false, closeOnClick: false}) .setLatLng([result['routes'][routeB]['geometry'][point2*3]['latitude'],result['routes'][routeB]['geometry'][point2*3]['longitude']]) .setContent('Route '+(routeB+1)+'
    '+metersInMiles(result['routes'][routeB]['distance'])+'
    '+secondsInTime(result['routes'][routeB]['duration'])+'
    ') .openOn(map);}if(result['routes'][routeA]){point2=Math.round((result['routes'][routeA]['geometry'].length/5)*1);popup2 = L.popup({ autoClose: false, closeOnClick: false }) .setLatLng([result['routes'][routeA]['geometry'][point2*2]['latitude'],result['routes'][routeA]['geometry'][point2*2]['longitude']]) .setContent('Route '+(routeA+1)+'
    '+metersInMiles(result['routes'][routeA]['distance'])+'
    '+secondsInTime(result['routes'][routeA]['duration'])+'
    ') .openOn(map);}if(result['routes'][routeIndex]){point2=Math.round((result['routes'][routeIndex]['geometry'].length/2)*1);popup1 = L.popup({ autoClose: false, closeOnClick: false }) .setLatLng([result['routes'][routeIndex]['geometry'][point2]['latitude'],result['routes'][routeIndex]['geometry'][point2]['longitude']]) .setContent('Route '+focusRoute+'
    '+metersInMiles(result['routes'][routeIndex]['distance'])+'
    '+secondsInTime(result['routes'][routeIndex]['duration'])+'
    '+'
    ') .openOn(map);}//alert(routeIndex); jQuery("#spanRoute3").css({"font-weight":"normal"}); jQuery("#spanRoute2").css({"font-weight":"normal"}); jQuery("#spanRoute1").css({"font-weight":"bold"}); if(totalKMferry!=0) routeOnlyWithVehicle=0; totalKM = totalKM / 1609.344; totalKMferry=totalKMferry/1609.344; if(statusFullScreen==0 ||isMobile) { if(totalTime==0) jQuery("#timetravel").html(""); else { if(totalKMferry==0)/*Tempo: */jQuery("#timetravel").html(''+ secondsInTime(totalTime) + ''); else /*Tempo di guida: */jQuery("#timetravel").html(''+ secondsInTime(totalTime) + 'Route Oklahoma City, OK to Snyder, TX (4)' + Math.round(totalKMferry)+' km, '+ secondsInTime(totalTimeferry) + '');//Route Oklahoma City, OK to Snyder, TX (5) } if(totalKM<0.5) { if(totalKM==0) jQuery("#distance").html(""); else { if(totalKMferry==0)/*Distanza */jQuery("#distance").html(' ' + Math.round(totalKM*1000*1.609344*3.28084)+' ft, ');else/*Distanza di guida*/jQuery("#distance").html(' ' + Math.round(totalKM*1000*1.609344*3.28084)+' ft, '); } } else if(totalKM<100) { if(totalKMferry==0)/*Distanza */jQuery("#distance").html(' ' + Math.round(totalKM*10)/10+' mi ('+Math.round((totalKM*1.609344)*10)/10+' km) '); else/*Distanza di guida*/jQuery("#distance").html(' ' + Math.round(totalKM*10)/10+' mi ('+Math.round((totalKM*1.609344)*10)/10+' km) '); } else { if(totalKMferry==0)/*Distanza */jQuery("#distance").html(' ' + Math.round(totalKM)+' mi ('+Math.round((totalKM*1.609344)*1)/1+' km) '); else/*Distanza di guida*/ jQuery("#distance").html(' ' + Math.round(totalKM)+' mi ('+Math.round((totalKM*1.609344)*1)/1+' km) '); }jQuery("#messageTolls").show(); } else{ if(totalTime==0) jQuery("#timetravel").html(""); else { if(totalKMferry==0) jQuery("#timetravel").html(''+ secondsInTime(totalTime) + ''); else jQuery("#timetravel").html(''+ secondsInTime(totalTime) + 'Route Oklahoma City, OK to Snyder, TX (6)' + Math.round(totalKMferry)+' km, '+ secondsInTime(totalTimeferry) + '');//Route Oklahoma City, OK to Snyder, TX (7) } if(totalKM<0.5) { if(totalKM==0) jQuery("#distance").html("");else{ if(totalKMferry==0)jQuery("#distance").html('' + Math.round(totalKM*1000*1.609344*3.28084)+' ft ');elsejQuery("#distance").html('' +Math.round(totalKM*1000*1.609344*3.28084)+' ft ');} } else if(totalKM<100) { if(totalKMferry==0)jQuery("#distance").html('' + Math.round(totalKM*10)/10+' mi ('+Math.round((totalKM*1.609344)*10)/10+' km) '); else jQuery("#distance").html('' + Math.round(totalKM*10)/10+' mi ('+Math.round((totalKM*1.609344)*10)/10+' km) ');} else { if(totalKMferry==0)jQuery("#distance").html('' + Math.round(totalKM)+' mi ('+Math.round((totalKM*1.609344)*1)/1+' km) '); else jQuery("#distance").html('' + Math.round(totalKM)+' mi ('+Math.round((totalKM*1.609344)*1)/1+' km) ');}jQuery("#messageTolls").hide();}jQuery('#diodia').html('Route Oklahoma City, OK to Snyder, TX (8)');jQuery('#diodiaMessage').html(''); runOnceInASecond=0;/*setTimeout(function() {findRoute(result.routes[routeIndex].legs[0].start_address,result.routes[routeIndex].legs[0].end_address,2,2,result,routeIndex )},100);*/setTimeout(function(){calcConsumption(totalKM,carConsumtion,carConsumtion,fuelPrice,routeIndex);},105);//mobile devicesif(!responsivizerActive &&((isMobile || actAsMobile) && (jQuery(window).width()<1052 || jQuery(window).height()<1052)) && mobileVersionIsActive ){jQuery("#closeButton").fadeIn();var width=jQuery(window).width();var middle=width/2;if(isTablet)jQuery("#infos").css({"-webkit-transform":"translateZ(0)","-webkit-overflow-scrolling":"touch","border":"1px solid #BBCCBB","font-size":"12px","background-color":"rgba(220,230,220,0.8)","width":"300px","padding":"2px 5px 2px 5px","z-index":"6","position": "fixed","top": "0%","margin-left":"-320px","margin-top":"60px","left":width/*"-webkit-overflow-scrolling":"touch"*/});elsejQuery("#infos").css({"-webkit-transform":"translateZ(0)","-webkit-overflow-scrolling":"touch","border":"1px solid #BBCCBB","font-size":"12px","background-color":"rgba(220,230,220,0.8)","width":"300px","padding":"2px 5px 2px 5px","z-index":"6","position": "fixed","top": "0%","margin-left":"-155px","margin-top":"60px","left":middle/*"-webkit-overflow-scrolling":"touch"*/});//,setTimeout(function(){ jQuery("#restresultsHome").css({"z-index":"5","font-size":"12px","color":"black","background-color":"rgba(220,230,220,0.0)"});jQuery("#resultsapostasiHome").css({"z-index":"5","font-size":"12px","color":"black","visibility":"visible","background-color":"rgba(220,230,220,0.0)"});jQuery("#katanalosi").css({"z-index":"5","visibility":"visible","background-color":"rgba(220,230,220,0.0)"});jQuery("#elevCoords").css({"z-index":"5","font-size":"12px","color":"black","visibility":"visible","background-color":"rgba(220,230,220,0.0)"});jQuery("#otherTowns").css({"z-index":"5","font-size":"12px"});jQuery("#spaceDiv").css({"height":"15px","width":"100%","clear":"both","z-index":"5","font-size":"12px","color":"black","visibility":"visible","background-color":"rgba(220,230,220,0.0)"});jQuery("#spaceDiv2").css({"height":"15px","width":"100%","clear":"both","z-index":"5","font-size":"12px","color":"black","visibility":"visible","background-color":"rgba(220,230,220,0.0)"}); jQuery('#infos').append(jQuery('#appurl')); jQuery('#infos').append(""); jQuery('#infos').append(jQuery('#resultsapostasiHome')); jQuery('#infos').append(jQuery('#katanalosi')); if(firstTimeinCalculation) {jQuery('#infos').append(jQuery('#elevCoords'));jQuery('#otherTowns').removeAttr("style");jQuery('#infos').append(jQuery('#otherTowns'));setTimeout(function(){firstTimeinCalculation=0;},100); } else { jQuery('#elevCoords').html(''); jQuery('#otherTowns').html(''); } jQuery('#otherTowns').css({"display":"inline-block","width":"250px"}); jQuery('#infos').append(jQuery('#spaceDiv')); jQuery('#infos').append(jQuery('#fb-like')); //document.write(""); jQuery('#infos').append(jQuery('#spaceDiv2')); //jQuery('#directions-panel').html(""+jQuery('#directions-panel').html()); jQuery('#directions-panel').show(); jQuery('#infos').append(jQuery('#directions-panel'));jQuery('#infos').append(jQuery('#diodiaMessage'));jQuery('#infos').append(jQuery('#lorryMessage')); jQuery('#infos').append(jQuery('#footer2')); if(isIphone)jQuery("#infos").css({"max-height":jQuery(window).height()*.7,"overflow": "auto"/*,"height":jQuery(window).height()-120*/}); else jQuery("#infos").css({"max-height":"70%","overflow": "scroll"/*,"height":jQuery(window).height()-120*/}); },30);jQuery("#closeButton").css({"visibility":"visible"});jQuery("#restresultsHome").fadeIn();jQuery("#resultsapostasiHome").fadeIn();jQuery("#katanalosi").fadeIn(); jQuery("#infos").fadeIn(); jQuery("#from2").fadeOut(); jQuery("#to2").fadeOut();}runOnlyOnceComputeTotalDistance=1;if(partenzaStart!='' && arrivoEnd!='' && marker!=null && marker2!=null){if(reverseRouteCount==1){marker.bindPopup(partenzaStart);marker2.bindPopup(arrivoEnd);}else{marker.bindPopup(arrivoEnd);marker2.bindPopup(partenzaStart);}}}function changeLineInText(textLine){if(textLine.length>20){}}function showAlternativeRoutesOptions(numberOfRoutes){if(numberOfRoutes>1){if(numberOfRoutes==2){ jQuery("#alternativesRoutes").html("From: "+data);if(marker!=null)marker.bindPopup(data);}else{arrivoEnd=data; jQuery("#arrivo").html("To: "+data); if(marker2!=null)marker2.bindPopup(data);} }});}function setRouteByNames(fromNames,toNames,fromCoords,toCoords,reverse){jQuery("#partenza").html('');jQuery("#arrivo").html('');if(firstTimeInRouteThereIsDistanceInDB!=1)jQuery("#distance").html('');jQuery("#urltext").val('');if(fromCoords!=='' && toCoords!==''){partsFrom=fromCoords.split(",");partsTo=toCoords.split(",");if(marker!==null && marker2!==null && markerprevLat!==null && marker2prevLat!==null){//alert(partsFrom[0]+" "+partsFrom[1]+" "+partsTo[0]+" "+partsTo[1]+" "+markerprev.getLatLng().lat+" "+markerprev.getLatLng().lng);//tempPoint1=if(comparePosition2(partsFrom[0],partsFrom[1],partsTo[0],partsTo[1],markerprevLat,markerprevLng,marker2prevLat,marker2prevLng)==1 && reverseRouteCount==1) { if(!jQuery("#withoutHighways").is(':checked')) { routeStatus=1;if(route1!=null){showAlternativeRoutes(0);return;} } else { routeStatus=2; if(route2!=null){showAlternativeRoutes(0);return;} } } else if(comparePosition2(partsFrom[0],partsFrom[1],partsTo[0],partsTo[1],markerprevLat,markerprevLng,marker2prevLat,marker2prevLng)==1 && reverseRouteCount==2) { if(!jQuery("#withoutHighways").is(':checked')) { routeStatus=3; if(routeReverse1!=null){showAlternativeRoutes(0);return;} } else { routeStatus=4; if(routeReverse2!=null){showAlternativeRoutes(0);return;} } } }}var routesNumber=1;//alert(jQuery("#withoutHighways").find('option:selected').val());clearMap();route=null;var allRoads;if(!jQuery("#withoutHighways").is(':checked'))allRoads=1;elseallRoads=2;from2=fromCoords.trim().split(',');to2=toCoords.trim().split(',');showLoading();jQuery.ajax({type: "GET",url:baseurl+'/ajax/getRouteOSRM.php',dataType: "json",async: true,data: {fromNames:encodeURI(fromNames),toNames:encodeURI(toNames),fromCoords:encodeURI(fromCoords.trim()),toCoords:encodeURI(toCoords.trim()),//middleCoords:encodeURI(middleCoords.trim()),testDiodia:testDiodia,routingProvider:routingProvider,currentUrl:currentUrl}, success: function(data){hideLoading();//alert(JSON.stringify(data['routes'][0])); //console.log(decode(data['routes'][0]['geometry'])[0]);//['latitude']longitude var marker1Lat,marker1Lng,marker2Lat,marker2Lng,marker1Name='',marker2Name='';var marker1Lat,marker1Lng,marker2Lat,marker2Lng,marker1Name='',marker2Name='';var latlngTemps=null;kmInRoutes=[0,0,0]; data['routes'][0]['geometry']=decode(data['routes'][0]['geometry']);if(data['routes'][1])data['routes'][1]['geometry']=decode(data['routes'][1]['geometry']);if(data['routes'][2])data['routes'][2]['geometry']=decode(data['routes'][2]['geometry']);marker1Lat=data['routes'][0]['geometry'][0]['latitude'];marker1Lng=data['routes'][0]['geometry'][0]['longitude'];marker2Lat=data['routes'][0]['geometry'][data['routes'][0]['geometry'].length-1]['latitude'];marker2Lng=data['routes'][0]['geometry'][data['routes'][0]['geometry'].length-1]['longitude'];marker1Name=fromNames;marker2Name=toNames;jQuery("#loading2").css("display", "none");//alert("a");//console.log(data['info']['query']['coordinates'][0][0]);route=data; if(data['routes'][2])routesNumber=3;else if(data['routes'][1])routesNumber=2;elseroutesNumber=1;if(!marker){marker = L.marker([marker1Lat,marker1Lng],{draggable:true,icon:startIcon});//.addTo(mymap);marker.addTo(map);marker.on('dragend', function(e) {defineRouteFromUrlNOsearch=1;citiesNamesExist=2;if(marker2)setRouteByNames('','',marker.getLatLng().lat+","+marker.getLatLng().lng,marker2.getLatLng().lat+","+marker2.getLatLng().lng);});}else{ marker.setLatLng([marker1Lat,marker1Lng]);}if(!marker2){/*var k2=1;while(data['waypoints'][k2]){k2++;}*/marker2 = L.marker([marker2Lat,marker2Lng],{draggable:true,icon:endIcon});//.addTo(mymap);marker2.addTo(map); marker2.on('dragend', function(e) {defineRouteFromUrlNOsearch=1;citiesNamesExist=2;if(marker)setRouteByNames('','',marker.getLatLng().lat+","+marker.getLatLng().lng,marker2.getLatLng().lat+","+marker2.getLatLng().lng);//alert('marker dragend event'+marker.getLatLng().lat+" "+marker.getLatLng().lng);//populateAutocompleteCoords(marker.getLatLng().lat,marker.getLatLng().lng);});}else{ marker2.setLatLng([marker2Lat,marker2Lng]);}//store routes temporary for sessionif(citiesNamesExist==2){getNameFromCoords(marker1Lat.toFixed(7),marker1Lng.toFixed(7),1);getNameFromCoords(marker2Lat.toFixed(7),marker2Lng.toFixed(7),2);citiesNamesExist=1;} if(markerprevLat==null || marker2prevLat==null) {reverseRouteCount=1;route1=null; route2=null; routeReverse1=null; routeReverse2=null; routeStatus=1; markerprevLat=marker.getLatLng().lat; markerprevLng=marker.getLatLng().lng; marker2prevLat=marker2.getLatLng().lat; marker2prevLng=marker2.getLatLng().lng; if(!jQuery("#withoutHighways").is(':checked')) { routeStatus=1;route1=data; } else { routeStatus=2; route2=data; } } else if(fromCoords!=='' && toCoords!=='' && comparePosition2(partsFrom[0],partsFrom[1],partsTo[0],partsTo[1],markerprevLat,markerprevLng,marker2prevLat,marker2prevLng)==1 && reverseRouteCount==1) { var avoidHighways=false; if(jQuery('#withoutHighways').is(':checked')) avoidHighways=true; elseavoidHighways=false; if(!jQuery("#withoutHighways").is(':checked')) { routeStatus=1;route1=data; } else { routeStatus=2; route2=data; } } else if(fromCoords!=='' && toCoords!=='' && comparePosition2(partsFrom[0],partsFrom[1],partsTo[0],partsTo[1],markerprevLat,markerprevLng,marker2prevLat,marker2prevLng)==1 && reverseRouteCount==2) { // alert("aaa"); if(!jQuery("#withoutHighways").is(':checked')) { routeStatus=3;routeReverse1=data; } else { routeStatus=4; routeReverse2=data; } } else { reverseRouteCount=1; route1=null; route2=null; routeReverse1=null; routeReverse2=null; markerprevLat=marker.getLatLng().lat; markerprevLng=marker.getLatLng().lng; marker2prevLat=marker2.getLatLng().lat; marker2prevLng=marker2.getLatLng().lng; if(!jQuery("#withoutHighways").is(':checked')) { routeStatus=1;route1=data; } else { routeStatus=2; route2=data; } } //end store routes temporary for session var data3=[];//longitudevar i=0,j=0;var temp;latlngs=[];latlngs2=[]var k=0,counter3=0;textTemp='';var addPointsToPrevious=0;marker1Lat=data['routes'][0]['geometry'][0]['latitude'];marker1Lng=data['routes'][0]['geometry'][0]['longitude'];marker2Lat=data['routes'][0]['geometry'][data['routes'][0]['geometry'].length-1]['latitude'];marker2Lng=data['routes'][0]['geometry'][data['routes'][0]['geometry'].length-1]['longitude'];for(i=0;i1;j--) { latlngs4=[]; opacity=opacity+0.1;for(i=0;i0){for(k4=0;k40;j--) { if(choice!=j-1) { latlngs4=[]; opacity=opacity+0.1;for(i=0;i'+Math.round((totalConsumption*fuelPrice*100)/numOfPassengers)/100+'$'); }else if(jQuery("#passengers").find('option:selected').val()=="2"){numOfPassengers=2;jQuery('#pricePerPerson').html(' '+Math.round((totalConsumption*fuelPrice*100)/numOfPassengers)/100+'$');}else if(jQuery("#passengers").find('option:selected').val()=="3"){numOfPassengers=3;jQuery('#pricePerPerson').html(' '+Math.round((totalConsumption*fuelPrice*100)/numOfPassengers)/100+'$'); } else if(jQuery("#passengers").find('option:selected').val()=="4"){numOfPassengers=4;jQuery('#pricePerPerson').html(' '+Math.round((totalConsumption*fuelPrice*100)/numOfPassengers)/100+'$');}else if(jQuery("#passengers").find('option:selected').val()=="5"){numOfPassengers=5;jQuery('#pricePerPerson').html(' '+Math.round((totalConsumption*fuelPrice*100)/numOfPassengers)/100+'$'); } createCookie("passengers",numOfPassengers,1); /*createCookie("fuelPrice",fuelPrice,10); createCookie("fuelType",jQuery("#fuelchoice").find('option:selected').val(),10); calculateConsumptionFast();*/ });function metersInKm(m){if(m<200){return Math.round((m/1609.344)*5280)/1+" ft";}else if((m/1000)<100)return Math.round((m/1609.344)*10)/10+" mi";elsereturn Math.round(m/1609.344)+" mi";}function showShipInfo2(kmFerry,timeFerry){if(timeFerry!=0) return ', '+metersInKm(kmFerry)+' '+secondsInTime(timeFerry); else return '';}function addDirections(results,res,routeIndex){i=0;tempText='';tempText2='';km=''; count=1;if(results[2])count=3;else if(results[1])count=2;tempText2=tempText2+"

    ";//alert(res.length);/*for(j=0;j

    "; fuelCostForRoute=Math.round((res[j][0]*carConsumtion/100000)*fuelPrice*100)/100; var tempVign=''; if(routeStatus==1){ if(vignetteForRoute[j]!=0)tempVign="Route Oklahoma City, OK to Snyder, TX (9)"+vignetteForRoute[j]+"€";tempText2=tempText2+" "+metersInKm(res[j][0])+", "+secondsInTime(res[j][1])+"
    Route Oklahoma City, OK to Snyder, TX (10)"+fuelCostForRoute+"€ Route Oklahoma City, OK to Snyder, TX (11)"+tollsForRoute[j]+"€"+tempVign; }else{if(vignetteForRouteReverse[j]!=0) tempVign="Route Oklahoma City, OK to Snyder, TX (12)"+vignetteForRouteReverse[j]+"€";tempText2=tempText2+" "+metersInKm(res[j][0])+", "+secondsInTime(res[j][1])+"
    Route Oklahoma City, OK to Snyder, TX (13)"+fuelCostForRoute+"€ Route Oklahoma City, OK to Snyder, TX (14)"+tollsForRouteReverse[j]+"€"+tempVign; } tempText2=tempText2+"

    ";}*/tempText2=tempText2+"

  • ";tempText=tempText+""+metersInKm(res[routeIndex][0])+" "+secondsInTime(res[routeIndex][1])+""+showShipInfo2(res[routeIndex][2],res[routeIndex][3])+"";tempText=tempText+"

    (Video) Beto O'Rourke Q & A at Scurry County Library in Snyder, Texas

    ";latsDirections=[];lonsDirections=[];directionsPerStep=[];i=0;var counterSteps=0;while(results[routeIndex]['legs'][i]){j=0;while(results[routeIndex]['legs'][i]['steps'][j]){//console.log(compileTranslation('en',results[routeIndex]['legs'][i]['steps'][j]));latsDirections.push(results[routeIndex]['legs'][i]['steps'][j]['maneuver']['location'][1]);lonsDirections.push(results[routeIndex]['legs'][i]['steps'][j]['maneuver']['location'][0]); message=compileTranslation("en",results[routeIndex]['legs'][i]['steps'][j]);directionsPerStep.push(message);if(true){var row="row";//tempText=tempText+"

    "+(i+1)+".

    ";tempText=tempText+"

    "+(counterSteps+1)+".

    ";tempText=tempText+"

    ";km='';//if(results[routeIndex]['guidance']['instructions'][i+1])km=metersInKm(results[routeIndex]['legs'][i]['steps'][j]['distance']);tempText=tempText+message;tempText=tempText+"

    ";tempText=tempText+"

    "+km+"

    ";}else{}j++;counterSteps++;}i++;}tempText=tempText+"

    "; jQuery('#directions-panel').html(tempText2+""+tempText); i=0; counterSteps=0;while(results[routeIndex]['legs'][i]){j=0;while(results[routeIndex]['legs'][i]['steps'][j]){ //temp=eval('row+i'); temp='row'+counterSteps; lat=results[routeIndex]['legs'][i]['steps'][j]['maneuver']['location'][1]; lng=results[routeIndex]['legs'][i]['steps'][j]['maneuver']['location'][0]; //temp2=eval("i"); temp2=i; jQuery('#'+temp).click(function(){var temp2=$(this).attr("id").substring(3);if(popupMessage!=null){map.removeLayer(popupMessage);popupMessage=null;}if(popup1!=null){map.removeLayer(popup1);popup1=null;}if(popup2!=null){map.removeLayer(popup2);popup2=null;}if(popup3!=null){map.removeLayer(popup3);popup3=null;}popupMessage = L.popup() .setLatLng([latsDirections[temp2],lonsDirections[temp2]]) .setContent(directionsPerStep[temp2]) .openOn(map); }); counterSteps++; j++;} i++;}jQuery("#cellRoute0").click(function(){ jQuery("#selectRoute").find("option")[0].selected = true; jQuery("#selectRoute").trigger("change");});jQuery("#cellRoute1").click(function(){ jQuery("#selectRoute").find("option")[1].selected = true; jQuery("#selectRoute").trigger("change");});jQuery("#cellRoute2").click(function(){ jQuery("#selectRoute").find("option")[2].selected = true; jQuery("#selectRoute").trigger("change");});}function printFuelConsumtpion(totalConsumption,fuelPrice){ //alert(totalConsumption+" "+fuelPrice);/*if((statusFullScreen==0 || isMobile) && jQuery("#ltorgallon").find('option:selected').val()==1){//jQuery("#consumptionMessage").html("Κατανάλωση: "); jQuery("#liters").html("Fuel consumption: "+totalConsumption+" lt");jQuery("#fuelPrice").html("Fuel price: "+Math.round(fuelPrice*100)+" p/lt");jQuery("#carConsumtion").html("Combined cons.: "+carConsumtion+" mpg");jQuery("#fuelCost").html("Fuel cost: "+Math.round(totalConsumption*fuelPrice*100)/100+" $");jQuery('#pricePerPerson').html(' '+Math.round((totalConsumption*fuelPrice*100)/numOfPassengers)/100+'$');}else if((statusFullScreen==0 || isMobile) && jQuery("#ltorgallon").find('option:selected').val()==2){jQuery("#liters").html("Fuel consumption: "+totalConsumption+" lt");jQuery("#fuelPrice").html("Fuel price: "+Math.round(fuelPrice*100)+" p/lt");jQuery("#carConsumtion").html("Combined cons.: "+Math.round((454.609/(carConsumtion*1.609344))*100)/100+" lt/100km");jQuery("#fuelCost").html("Fuel cost: "+Math.round(totalConsumption*fuelPrice*100)/100+" $");jQuery('#pricePerPerson').html(' '+Math.round((totalConsumption*fuelPrice*100)/numOfPassengers)/100+'$');}else if(jQuery("#ltorgallon").find('option:selected').val()==1){//jQuery("#consumptionMessage").html(""); jQuery("#liters").html(""+totalConsumption+" lt");jQuery("#fuelPrice").html(""+Math.round(fuelPrice*100)+" p/lt");jQuery("#carConsumtion").html(""+carConsumtion+" mpg");jQuery("#fuelCost").html(""+Math.round(totalConsumption*fuelPrice*100)/100+" $");jQuery('#pricePerPerson').html(' '+Math.round((totalConsumption*fuelPrice*100)/numOfPassengers)/100+'$');}else{//jQuery("#consumptionMessage").html(""); jQuery("#liters").html(""+totalConsumption+" lt");jQuery("#fuelPrice").html(""+Math.round(fuelPrice*100)+" p/lt");jQuery("#carConsumtion").html(""+Math.round((454.609/(carConsumtion*1.609344))*100)/100+" lt/100km");jQuery("#fuelCost").html(""+Math.round(totalConsumption*fuelPrice*100)/100+" $");jQuery('#pricePerPerson').html(' '+Math.round((totalConsumption*fuelPrice*100)/numOfPassengers)/100+'$');}*/if((statusFullScreen==0 || isMobile) && jQuery("#ltorgallon").find('option:selected').val()==1){//jQuery("#consumptionMessage").html("Κατανάλωση: "); jQuery("#liters").html("Fuel consumption: "+totalConsumption+" gal");jQuery("#fuelPrice").html("Fuel price: "+fuelPrice+" $/gal");jQuery("#carConsumtion").html("Vehicle consumption: "+carConsumtion+" mpg");jQuery("#fuelCost").html("Fuel cost: "+Math.round(totalConsumption*fuelPrice*100)/100+" $");jQuery('#pricePerPerson').html(' '+Math.round((totalConsumption*fuelPrice*100)/numOfPassengers)/100+'$');}else if((statusFullScreen==0 || isMobile) && jQuery("#ltorgallon").find('option:selected').val()==2){jQuery("#liters").html("Fuel consumption: "+Math.round((totalConsumption*3.785411784)*10)/10+" lt");jQuery("#fuelPrice").html("Fuel price: "+Math.round((fuelPrice/3.785411784)*100)/100+" $/lt");jQuery("#carConsumtion").html("Vehicle consumption: "+Math.round((378.5411784/(carConsumtion*1.609344))*100)/100+" lt/100km");jQuery("#fuelCost").html("Fuel cost: "+Math.round(totalConsumption*fuelPrice*100)/100+" $");jQuery('#pricePerPerson').html(' '+Math.round((totalConsumption*fuelPrice*100)/numOfPassengers)/100+'$');}else if(jQuery("#ltorgallon").find('option:selected').val()==1){//jQuery("#consumptionMessage").html(""); jQuery("#liters").html(""+totalConsumption+" gal");jQuery("#fuelPrice").html(""+fuelPrice+" $/gal");jQuery("#carConsumtion").html(""+carConsumtion+" mpg");jQuery("#fuelCost").html(""+Math.round(totalConsumption*fuelPrice*100)/100+" $");jQuery('#pricePerPerson').html(' '+Math.round((totalConsumption*fuelPrice*100)/numOfPassengers)/100+'$');}else if(jQuery("#ltorgallon").find('option:selected').val()==2){jQuery("#liters").html(""+Math.round((totalConsumption*3.785411784)*10)/10+" lt");jQuery("#fuelPrice").html(""+Math.round((fuelPrice/3.785411784)*100)/100+" $/lt");jQuery("#carConsumtion").html(""+Math.round((378.5411784/(carConsumtion*1.609344))*100)/100+" lt/100km");jQuery("#fuelCost").html(""+Math.round(totalConsumption*fuelPrice*100)/100+" $");jQuery('#pricePerPerson').html(' '+Math.round((totalConsumption*fuelPrice*100)/numOfPassengers)/100+'$');}} jQuery("#fuelchoice").change(function(){if(jQuery("#fuelchoice").find('option:selected').val()=="1"){ fuelPrice=initialPetrolPrice; carConsumtion=initialPetrolConsum; totalConsumption=Math.round((totalKM/carConsumtion)*10)/10; jQuery('#pricePerPerson').html(' '+Math.round((totalConsumption*fuelPrice*100)/numOfPassengers)/100+'$'); }else if(jQuery("#fuelchoice").find('option:selected').val()=="2"){fuelPrice=initialGazPrice;carConsumtion=initialGazConsum; totalConsumption=Math.round((totalKM/carConsumtion)*10)/10; jQuery('#pricePerPerson').html(' '+Math.round((totalConsumption*fuelPrice*100)/numOfPassengers)/100+'$');}else if(jQuery("#fuelchoice").find('option:selected').val()=="3"){ fuelPrice=initialOilPrice; carConsumtion=initialOilConsum; totalConsumption=Math.round((totalKM/carConsumtion)*10)/10; jQuery('#pricePerPerson').html(' '+Math.round((totalConsumption*fuelPrice*100)/numOfPassengers)/100+'$'); } createCookie("carConsumtion",carConsumtion,2); createCookie("fuelPrice",fuelPrice,2); createCookie("fuelType",jQuery("#fuelchoice").find('option:selected').val(),2); calculateConsumptionFast(); }); function setCookie(cname, cvalue, exdays) { var d = new Date(); d.setTime(d.getTime() + (exdays*24*60*60*1000)); var expires = "expires="+d.toGMTString(); document.cookie = cname + "=" + cvalue + "; " + expires;}function createCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path=/";}function searchByEnterOrButtonPressed(){ if(jQuery("#from").val().length>3 && valueFocus!="" && idFocus!=""){var parts=idFocus.split("!");showPostcode(valueFocus,parts[2],parts[1],parts[0],15);//alert(valueFocus+" "+idFocus);}} jQuery("#searchRoute").click(function(){setTimeout(function(){searchByEnterOrButtonPressed();},400); }); setTimeout(function(){initialize();},10);}}function decode(encoded){ // array that holds the points var points=[ ] var index = 0, len = encoded.length; var lat = 0, lng = 0; while (index

    (Video) How to Grill Up Tasty Lamb - Defaid Livestock, Snyder, TX

    = 0x20); var dlat = ((result & 1) != 0 ? ~(result >> 1) : (result >> 1)); lat += dlat; shift = 0; result = 0; do { b = encoded.charAt(index++).charCodeAt(0) - 63; result |= (b & 0x1f) <= 0x20); var dlng = ((result & 1) != 0 ? ~(result >> 1) : (result >> 1)); lng += dlng; points.push({latitude:( lat / 1E5),longitude:( lng / 1E5)}) } return points }function secondsInTime(num){ days=Math.floor(num/86400); rest=num-days*86400; hours=Math.floor(rest/3600); rest=rest-hours*3600; minutes=Math.round(rest/60,0); if(minutes==60) { minutes=0;hours=hours+1; } timeText=""; if(days!=0) timeText=days+" d "; if(hours!=0) { if(hours==1) timeText=timeText+hours+" h "; else timeText=timeText+hours+" h "; } if(minutes==1) timeText=timeText+minutes+" min"; else timeText=timeText+minutes+" min"; return timeText;}}startTheScript();
    (Video) Snyder, Texas

    FAQs

    What is halfway between Oklahoma and Texas? ›

    Halfway between Oklahoma and Texas

    The town that marks the exact halfway point is actually Denton, Texas. The closest zip code to the midpoint is 76201. The exact latitude and longitude coordinates are 33° 14' 38" N and 97° 10' 37" W. The closest major city that is roughly halfway is Plano, TX.

    How long does it take to get from Texas to Oklahoma by car? ›

    Yes, the driving distance between Texas to Oklahoma is 447 miles. It takes approximately 7h 15m to drive from Texas to Oklahoma.

    How long is journey from Oklahoma to Texas? ›

    Yes, the driving distance between Oklahoma to Texas is 447 miles. It takes approximately 7h 17m to drive from Oklahoma to Texas.

    How far is it from the Texas border to Oklahoma City? ›

    Distance from Texas to Oklahoma City is 447 kilometers.

    This air travel distance is equal to 278 miles. The air travel (bird fly) shortest distance between Texas and Oklahoma City is 447 km= 278 miles.

    What is the halfway point between Oklahoma City and Dallas? ›

    The city at the geographic halfway point from Oklahoma City, OK to Dallas, TX is Ardmore, Oklahoma.

    What is the halfway point between Oklahoma City and South Padre Island? ›

    Oklahoma City and South Padre Island are 11 hours 52 mins far apart, if you drive non-stop . This is the fastest route from Oklahoma City, OK to South Padre Island, TX. The halfway point is Manor, TX. Oklahoma City, OK and South Padre Island, TX are in the same time zone (CDT).

    What is the longest distance you can drive in Texas? ›

    The longest highway in Texas is U. S. 83, which extends from the Oklahoma state line near Perryton, to the Mexico border at Brownsville. It is 783.5 miles long.

    How far apart is Texas and Oklahoma? ›

    Distance between Texas and Oklahoma is 533 KM / 331.8 miles.

    How many miles is it from OKC to Dallas? ›

    The total driving distance from Dallas, TX to Oklahoma City, OK is 205 miles or 330 kilometers.

    What is the closest city in Oklahoma to Texas? ›

    Texhoma is a divided city with the Texas–Oklahoma state border separating the town from Texhoma, Texas. The name of the town is a portmanteau of Texas and Oklahoma.

    Can you Take a train from Oklahoma to Texas? ›

    The Heartland Flyer connects Oklahoma City to Fort Worth, TX daily and also connects travelers to the cowboy state of mind that lives on in the West.

    What city is one hour Oklahoma? ›

    Cities near Oklahoma City within 1 hour
    28 minutes:Norman
    1 hr 7 min:Stillwater
    1 hr 4 min:Anadarko
    42 minutes:Chickasha
    11 minutes:Del City
    10 more rows

    Is Oklahoma City a big city? ›

    Image of Is Oklahoma City a big city?

    What is between Oklahoma City and Amarillo? ›

    The top stops along the way from Amarillo to Oklahoma City (with short detours) are Palo Duro Canyon State Park, Tiger Safari Zoological Park, and Oklahoma Route 66 Museum.

    How far is Dallas from Oklahoma state line? ›

    Since the Oklahoma border is just 200 miles from Dallas, your journey, no matter how you choose to go, will be quick and easy.

    What is the exact halfway point of the year? ›

    July 2 is the 183rd day of the year (184th in leap years) in the Gregorian calendar; 182 days remain until the end of the year. This day is the first day of the second half of the year, as well as the midpoint of a common year because there are 182 days before and 182 days after it in common years.

    What is halfway between Nashville and Asheville? ›

    Halfway between Asheville, NC and Nashville, TN

    The town that marks the exact halfway point is actually Twin Oaks, Tennessee. The closest zip code to the midpoint is 37748. The exact latitude and longitude coordinates are 35° 52' 22" N and 84° 28' 12" W.

    What state is halfway between Florida and New York? ›

    Halfway between New York and Florida

    The town that marks the exact halfway point is actually Dunn, North Carolina. The closest zip code to the midpoint is 28342. The exact latitude and longitude coordinates are 35° 15' 52" N and 78° 37' 13" W.

    Is it worth visiting South Padre Island? ›

    The island is well-known for its beautiful white sandy beaches, calm weather, and excellent clear Gulf water. South Padre weather varies but rarely gets below 62 degrees. With mild winters and year-round fun, you can visit any time of the year to see and do it all.

    How far is South Padre from mexico border? ›

    SPI, as it's known, is a city located on a barrier island of the same name, just 20 or so miles, as the piping plover flies, from the border with Mexico.

    What is halfway between Dallas and South Padre Island? ›

    Halfway between Dallas, TX and South Padre Island, TX

    The town that marks the exact halfway point is actually Southton, Texas. The closest zip code to the midpoint is 78233. The exact latitude and longitude coordinates are 29° 18' 7" N and 98° 23' 45" W.

    Can you drive 12 hours and still be in Texas? ›

    If you conservatively allow yourself 2 hours all in for the different stops to stretch your legs, expect to spend 14 to 16 hours on the road to drive across Texas.

    What are the 2 farthest points in Texas? ›

    Latitude and Longitude of Texas

    at the extreme eastern point on the Sabine River on the east line of Newton County to Longitude 106° 38' W. on the extreme westward point on the Rio Grande above El Paso.

    Is it safe to drive through Texas? ›

    Overall, Texas is a safe state to visit in the United States if you know where to go and avoid the places that do tend to see higher rates of crime.

    How much is the ticket from Oklahoma to Texas? ›

    Users on Cheapflights have found tickets from Oklahoma to Texas from $290 1-2 weeks out and tickets from $381 for flights departing within the next 72 hours.

    How far is Dallas from Texas? ›

    Distance from Texas to Dallas

    The shortest distance (air line) between Texas and Dallas is 191.60 mi (308.36 km). The shortest route between Texas and Dallas is 224.48 mi (361.27 km) according to the route planner. The driving time is approx. 4h 13min.

    Is Oklahoma and Texas close? ›

    Distance from Oklahoma to Texas is 426 kilometers.

    This air travel distance is equal to 265 miles. The air travel (bird fly) shortest distance between Oklahoma and Texas is 426 km= 265 miles.

    How far is Tulsa and Oklahoma City? ›

    There are 97.65 miles from Tulsa to Oklahoma City in southwest direction and 106 miles (170.59 kilometers) by car, following the I-44 W route. Tulsa and Oklahoma City are 1 hour 34 mins far apart, if you drive non-stop .

    How far is the casino from Dallas? ›

    The Winstar World Casino and Resort is the closest casino to Dallas. It is 80.4 miles downtown Dallas. The Casino Complex spans over 500,000 sq feet and is one of the largest in the United States.

    How far is Oklahoma from Tulsa OK? ›

    106 miles / 171 km driving 98 miles / 157 km flying
    From:
    Check-in:
    Check-out:
    Get:vacation flight hotel SEARCH
    Powered by MediaAlpha
    1 more row

    How far is Texas from Oklahoma by plane? ›

    Flying time from Texas to Oklahoma

    The total flight duration from Texas to Oklahoma is 1 hour, 7 minutes. This assumes an average flight speed for a commercial airliner of 500 mph, which is equivalent to 805 km/h or 434 knots. It also adds an extra 30 minutes for take-off and landing.

    How much is the ticket from Oklahoma to Texas? ›

    Users on Cheapflights have found tickets from Oklahoma to Texas from $290 1-2 weeks out and tickets from $381 for flights departing within the next 72 hours.

    How many Texas are from Oklahoma? ›

    356 miles / 573 km
    From:
    Check-in:
    Check-out:
    Get:vacation flight hotel SEARCH
    Powered by MediaAlpha
    1 more row

    How much does it cost to ship a car from Texas to Oklahoma? ›

    Car Shipping from Dallas, TX to Oklahoma City, OK — $300.

    What city in Texas is closest to Oklahoma? ›

    Texhoma is a divided city with the Texas–Oklahoma state border separating the town from Texhoma, Texas. The name of the town is a portmanteau of Texas and Oklahoma. Founded around the Rock Island Railroad laying tracks through the area, much of the town's local economy is from ranching and livestock.

    How far is the flight from Oklahoma City to Dallas? ›

    How long does a flight from Oklahoma City to Dallas/Fort Worth Airport take? Direct flights take on average 1h 06m to travel the 176 miles between Oklahoma City and Dallas/Fort Worth Airport.

    How far is Oklahoma City from Dallas by plane? ›

    The distance from Oklahoma City to Dallas Fort Worth by plane is 175 Miles. This is the air distance on the most direct route taken by the vast majority of flights.

    How many cities are in Oklahoma? ›

    Oklahoma

    How much is the flight from Oklahoma to Dallas? ›

    $144 Cheap flights from Oklahoma City (OKC) to Dallas (DFW) (2022) - Expedia.com.

    How much are flights from Dallas to Texas? ›

    Good to know
    Low seasonSeptember
    Cheapest flight$50
    Average price round-trip$273
    Good deal round-trip$93
    Good deal one-way$63
    1 more row

    How far is Dallas from the Oklahoma border? ›

    Since the Oklahoma border is just 200 miles from Dallas, your journey, no matter how you choose to go, will be quick and easy.

    What is the closest state to Texas? ›

    The Lone Star State (its nickname) borders the US state of New Mexico in the west; the Red River of the South defines its border with the US state of Oklahoma. Texas has a short border with Arkansas in the east; the Sabine River creates a natural boundary to Louisiana in the east.

    How far is Dallas from Texas? ›

    Distance from Texas to Dallas

    The shortest distance (air line) between Texas and Dallas is 191.60 mi (308.36 km). The shortest route between Texas and Dallas is 224.48 mi (361.27 km) according to the route planner. The driving time is approx. 4h 13min.

    How much does it cost to ship a car from Oklahoma? ›

    Cost & Time To Ship Your Car Examples
    Shipping To/FromCostEstimated Time In Transit
    Oklahoma to Arizona$7003 - 5 days
    Phoenix to Oklahoma City$7193 - 5 days
    Oklahoma City to Jacksonville$7154 - 6 days
    Los Angeles to Oklahoma$8234 - 6 days
    7 more rows

    Videos

    1. Fort Worth Meacham to Snyder, TX Night Flight
    (Jesse Edwards)
    2. Route2019
    (BockwurstMitSenf)
    3. May 25, 2021 • Severe Storms with Hail and Lightning in Snyder, TX
    (Texas Storm Chasers)
    4. Timelapse of Tornadoes Building Up on Highway in Oklahoma, U.S. - 1261477
    (RM Videos)
    5. Highway 84 just south of Abilene, TX
    (I love Cattle trucks)
    6. Cowboy Artist (Texas Country Reporter)
    (Texas Country Reporter)
    Top Articles
    Latest Posts
    Article information

    Author: Annamae Dooley

    Last Updated: 12/28/2022

    Views: 6540

    Rating: 4.4 / 5 (65 voted)

    Reviews: 88% of readers found this page helpful

    Author information

    Name: Annamae Dooley

    Birthday: 2001-07-26

    Address: 9687 Tambra Meadow, Bradleyhaven, TN 53219

    Phone: +9316045904039

    Job: Future Coordinator

    Hobby: Archery, Couponing, Poi, Kite flying, Knitting, Rappelling, Baseball

    Introduction: My name is Annamae Dooley, I am a witty, quaint, lovely, clever, rich, sparkling, powerful person who loves writing and wants to share my knowledge and understanding with you.