', "description": '

\0

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

\0

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1 ', "description": '

1

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '', "description": '

\"\'><

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

\"\'><

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '', "description": '

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '', "description": '

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1\">
', "description": '

1\">

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

1\">

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '', "description": '

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

',"id":'' },{"is_start_end": 2,"typeflag": 1,"lat": '1', "lng": '1',"title": '1', "description": '

1

1

',"id":'' },{"is_start_end": 1,"title": 'Leh 194101', "lat": '34.1525904', "lng": '77.5770622', "description": 'Leh 194101', "id": '' }]; var wps = [{location: new google.maps.LatLng(21.145992165,72.8283691406)},{location: new google.maps.LatLng(24.5870903392,73.5314941406)},{location: new google.maps.LatLng(26.4902404589,74.4763183594)},{location: new google.maps.LatLng(26.7652305657,75.8605957031)},{location: new google.maps.LatLng(28.5941685062,76.9372558594)},{location: new google.maps.LatLng(30.5433389542,76.1462402344)},{location: new google.maps.LatLng(31.2973279914,75.4431152344)},{location: new google.maps.LatLng(34.0162418897,74.9432373047)}]; /* var totalwps = '[{"id":"4751","ct_trails_id":"15202","created":"2016-08-08 12:09:45","updated":null,"latitude":"21.145992165","longitude":"72.8283691406","place":"Surat","description":"First Check-in","checkin_img":"","hotspot":"0","isDelete":"0"},{"id":"4752","ct_trails_id":"15202","created":"2016-08-08 12:10:12","updated":null,"latitude":"24.5870903392","longitude":"73.5314941406","place":"Udaipur","description":"Second check-in","checkin_img":"","hotspot":"0","isDelete":"0"},{"id":"4753","ct_trails_id":"15202","created":"2016-08-08 12:11:10","updated":null,"latitude":"26.4902404589","longitude":"74.4763183594","place":"Ajmer","description":"Third Check-in","checkin_img":"","hotspot":"0","isDelete":"0"},{"id":"4754","ct_trails_id":"15202","created":"2016-08-08 12:12:16","updated":null,"latitude":"26.7652305657","longitude":"75.8605957031","place":"Jaipur","description":"Fourth Check-in","checkin_img":"","hotspot":"0","isDelete":"0"},{"id":"4755","ct_trails_id":"15202","created":"2016-08-08 12:12:54","updated":null,"latitude":"28.5941685062","longitude":"76.9372558594","place":"New Delhi","description":"Fifth Check-In","checkin_img":"","hotspot":"0","isDelete":"0"},{"id":"4756","ct_trails_id":"15202","created":"2016-08-08 12:13:31","updated":null,"latitude":"30.5433389542","longitude":"76.1462402344","place":"Chandigarh","description":"Sixth Check-In","checkin_img":"","hotspot":"0","isDelete":"0"},{"id":"4757","ct_trails_id":"15202","created":"2016-08-08 12:14:51","updated":null,"latitude":"31.2973279914","longitude":"75.4431152344","place":"Jalandhar","description":"Seventh Check-in","checkin_img":"","hotspot":"0","isDelete":"0"},{"id":"4758","ct_trails_id":"15202","created":"2016-08-08 12:16:46","updated":null,"latitude":"34.0162418897","longitude":"74.9432373047","place":"Srinagar","description":"Eighth Check-in","checkin_img":"","hotspot":"0","isDelete":"0"}]'; var totalwps = jQuery.parseJSON(totalwps); console.log(totalwps); var waypts = []; for (var i = 0; i < totalwps.length; i++) { if (totalwps[i]) { waypts.push({ //location: new google.maps.LatLng(totalwps[i].latitude, totalwps[i].longitude), location: totalwps[i].place+", IN", stopover: true }); } } console.log(waypts); */ var org = new google.maps.LatLng(19.2183287,72.9780706); var dest = new google.maps.LatLng(34.1525904,77.5770622); var infoWindow = new google.maps.InfoWindow(); var lat_lng = new Array(); var latlngbounds = new google.maps.LatLngBounds(); //new google.maps.MarkerImage("https://www.trailsofindia.com/wp-content/uploads/trails/default-images/hotsopts_web.png",new google.maps.Size(30, 30)) for (i = 0; i < markers.length; i++) { var data = markers[i]; var newlat = data.lat; var newlng = data.lng; //console.log(newlat+'----'+newlng); var myLatlng = new google.maps.LatLng(newlat, newlng); lat_lng.push(myLatlng); // alert(lat_lng.push(myLatlng)); var icondata; //console.log(data); if(data.is_start_end != 2) { if(data.is_start_end == 0) { var icondata = { url : "https://www.trailsofindia.com/wp-content/uploads/trails/default-images/green_pin.png", scaledSize: new google.maps.Size(60, 60) }; } else { var icondata = { url : "https://www.trailsofindia.com/wp-content/uploads/trails/default-images/red_pin.png", scaledSize: new google.maps.Size(60, 60) }; } } else { if(data.typeflag == 1) { var icondata = { url : "https://www.trailsofindia.com/wp-content/uploads/trails/default-images/hotsopts_web.png", scaledSize: new google.maps.Size(60, 60) }; } else { var icondata = { url : "https://www.trailsofindia.com/wp-content/uploads/trails/default-images/orange_pin.png", scaledSize: new google.maps.Size(60, 60) }; } } var marker = new google.maps.Marker({ position: myLatlng, map: map, title: decodeURIComponent(data.title), icon: icondata }); latlngbounds.extend(marker.position); (function (marker, data) { google.maps.event.addListener(marker, "click", function (e) { infoWindow.setContent(decodeURIComponent(data.description)); infoWindow.open(map, marker); }); })(marker, data); } map.setCenter(latlngbounds.getCenter()); map.fitBounds(latlngbounds); //Loop and Draw Path Route between the Points on MAP var request = { origin: org, destination: dest, waypoints: wps, //waypoints: waypts, //optimizeWaypoints: true, //partial_match: true, travelMode: google.maps.DirectionsTravelMode.DRIVING }; var directionsService = new google.maps.DirectionsService(); directionsService.route(request, function (response, status) { console.log(status); if (status == google.maps.DirectionsStatus.OK) { directionsDisplay.setDirections(response); } else { //alert('failed to get directions'); console.log('failed to get directions'); } }); /** * Concatenates given lat and lng with an underscore and returns it. * This id will be used as a key of marker to cache the marker in markers object. * @param {!number} lat Latitude. * @param {!number} lng Longitude. * @return {string} Concatenated marker id. */ var getMarkerUniqueId = function (lat, lng) { return lat + '_' + lng; } /** * Creates an instance of google.maps.LatLng by given lat and lng values and returns it. * This function can be useful for getting new coordinates quickly. * @param {!number} lat Latitude. * @param {!number} lng Longitude. * @return {google.maps.LatLng} An instance of google.maps.LatLng object */ var getLatLng = function (lat, lng) { return new google.maps.LatLng(lat, lng); }; /** * Binds click event to given map and invokes a callback that appends a new marker to clicked location. */ $v = 0; var addMarker = google.maps.event.addListener(map, 'dblclick', function (e) { if ($v == 0) { var lat = e.latLng.lat(); // lat of clicked point var lng = e.latLng.lng(); // lng of clicked point var markerId = getMarkerUniqueId(lat, lng); // an that will be used to cache this marker in markers object. var marker = new google.maps.Marker({ position: getLatLng(lat, lng), map: map, id: 'marker_' + markerId }); $v = 1; document.getElementById("lat").value = lat; document.getElementById("long").value = lng; markers[markerId] = marker; // cache marker in markers object bindMarkerEvents(marker); // bind right click event to marker } }); /** * Binds right click event to given marker and invokes a callback function that will remove the marker from map. * @param {!google.maps.Marker} marker A google.maps.Marker instance that the handler will binded. */ var bindMarkerEvents = function (marker) { google.maps.event.addListener(marker, "rightclick", function (point) { var markerId = getMarkerUniqueId(point.latLng.lat(), point.latLng.lng()); // get marker id by using clicked point's coordinate var marker = markers[markerId]; // find marker //console.log(marker); //console.log(markerId); removeMarker(marker, markerId); // remove it $v = 0; }); }; /** * Removes given marker from map. * @param {!google.maps.Marker} marker A google.maps.Marker instance that will be removed. * @param {!string} markerId Id of marker. */ var removeMarker = function (marker, markerId) { marker.setMap(null); // set markers setMap to null to remove it from map delete markers[markerId]; // delete marker instance from markers object }; var dialog, form, lat = jQuery("#lat"), long = jQuery("#long"), title = jQuery("#title"), description = jQuery("#desc"), allFields = jQuery([]).add(lat).add(long).add(title).add(description), tips = jQuery(".validateTips"); function updateTips(t) { tips .text(t) .addClass("ui-state-highlight"); setTimeout(function () { tips.removeClass("ui-state-highlight", 1500); }, 500); } function checkLength(o, n, min, max) { if (o.val().length > max || o.val().length < min) { o.addClass("ui-state-error"); updateTips("Length of " + n + " must be between " + min + " and " + max + "."); return false; } else { return true; } } function addUser() { var valid = true; allFields.removeClass("ui-state-error"); valid = valid && checkLength(lat, "Latitude", 7, 100); valid = valid && checkLength(long, "Longitude", 7, 100); valid = valid && checkLength(title, "Title", 1, 100); valid = valid && checkLength(description, "Description", 1, 15000); if (valid) { dialog.dialog("close"); } return valid; } dialog = jQuery("#dialog-form").dialog({ autoOpen: false, height: 400, width: 350, modal: true, close: function () { allFields.removeClass("ui-state-error"); } });/* jQuery("#dvMap").on("dblclick", function () { jQuery("#dialog-form").css('display','block'); dialog.dialog("open"); }); */ jQuery("#cancel").click(function(){ dialog.dialog("close"); }) jQuery("#hssubmit").click(function(){ valid=addUser(); if(valid==false) return false; //event.preventDefault(); }); jQuery('#ms,#group_trail').change(function() { //console.log(jQuery(this).val()); //jQuery("#store_user").val(jQuery(this).val()); }).multipleSelect({ width: '100%' }); }); function canceltrail(id){ jQuery('#loader').css('display','block'); var ajaxurl=jQuery("#ajax_url").val(); jQuery.post( ajaxurl, { action: 'cancel_trail', id:id, }, function(response) { if(response){ jQuery('#loader').css('display','none'); jQuery(".hidebutton").remove(); } }); }

SHARE WITH YOUR FRIEND


SHARE WITH


  • Thane to Ladakh: A wonder ride

    Bike Trip - Thane to Ladakh

    Start Destination: Thane, Maharashtra 400601, India    End Destination: Leh 194101
    Distance: 2,731 km    Bike: Royal Enfield ,
    Start Date: 05/17/2016    End Date: 07/21/2016

    The Journey:

    Thane-Surat-Udaipur-Ajmer-Jaipur-New Delhi- Chandigarh- Jalandhar- Srinagar- Kargil- Leh-Ladakh

    We started planning for a bike trip and zeroed in on Ladakh. Apprehensive as we were, we talked to people who had already made the trip once, and started preparing. The initial plan was to fly to Chandigarh and start our journey from there, but who would want to miss the beauty we would encounter on the road? Deciding to take the road from Thane all the way to Ladakh, we set off at 3 a.m. on May 17. On our way, we were joined by another rider, Akshay D Jetla, who was on his way to Delhi. Since he was riding solo, he thought of tagging along with us till he reached his destination.

    On the first day of our trip,we rode for 800 kilometres non-stop till we reached Udaipur. It was really tiring and we slept off the moment we hit bed. The next day we started early morning for Jaipur. On our way to Ambala, we found many roadside eateries. During our stop at Panipat, we met the Royal Riders of Panipat led by Mr Tajender Singh. At this point our bikes had started to give us some trouble, so we decided to get them serviced the moment we reached our hotel in Ambala. Unexpectedly, the people at Royal Enfield service centre in Ambala messed my bike up even more. I finally got the problem fixed at a local garage just outside of the border of Ambala. Surprised at the incompetency of the people in the showroom, I had good reason to generously thank the local mechanic who fixed my bike.

    As soon as we reached the border of Jammu and Kashmir, we got a taste of what the roads ahead were going to be like. Cracks and rubble matting the surface made the terrain quite difficult to ride on. Chaotic as the roads were, we finally got some rest at Patnitop, where we decided to settle for the night.

    We reached Jammu the next day and it was simply beautiful. We booked a lake house for ourselves in Srinagar and agreed to stay there for 2 days to explore the city. After our stay in Srinagar, we left for Leh-Ladakh at 4 in the morning.  We were alternating between smooth and rough patches till we reached the Zozilla Pass. As we reached Leh, we checked into Oriental Hotel, which is right next to Shanti Stupa. We had plans to explore Nubra Valley and Pangong. The Nubra valley is breathtakingly beautiful. Driving between the sand dunes and river beds for about 30 kilometres was absolutely mind-blowing. Sadly, we could not explore Pangong due to a landslide.

    Our tents were pitched between the mountains and right next to the river. We had our stock of food and drinks ready to be enjoyed around the bonfire. Some fellow campers also joined us and we had a great time together.

    While returning back to Leh from Khardung La, we found the roads jam-packed with tourists. Eventually, we got back and went out to explore the market in Leh. German Bakery is where we got our grub and headed to The Lenchen Lounge for a round of drinks.

    According to plans, we decided to take the flight and get our bikes transported back home on our return journey since there was a downpour and we were not sure if our bikes would be able to cope with the weather.

    Ideal Time to Visit:

    The ideal time to visit is from March to October.

    Entourage Strength:

    We were a group of 5 bike lovers.

    Preps:

    New tyres for our bikes, fuel cans fitted to the KTM390 Duke and a Ladakh I carrier attached to the Royal Enfield were some of the things we did, in preparation for the trip.

    Assistive Gizmos:

    All we were using was the GPS on our phones to navigate our way around unknown ways.

    Road and Traffic Conditions:

    The road was smooth till we entered Jammu and Kashmir. After entering the state, the roads were very harsh and difficult to tread on.

    Best and Worst Stretches:

    The best stretch throughout the journey was the Zozilla Pass. The magnificent mountains and valleys are simple breathtaking.

    As for the worst stretches? Roads on the border of Jammu and Kashmir are rough, broken at many places and not at all easy to ride on!

    Weather Encountered:

    The weather was pleasant, but it rained on our return, which forced us to take the flight back home.

    Bike Care:

    I believe that regular servicing is very important, especially if you are travelling. I had my bike looked over twice during the trip.

    We stopped at Ambala for a regular servicing, but something went wrong. My bike started leaking oil and all my bike’s electricals were messed up. I couldn’t accelerate beyond 50 kilometres per hour. Finally, I stopped at a local garage after crossing Ambala and got the issue fixed.

    While we were Srinagar, I was again disappointed at the Royal Enfield service centre. They said they didn’t have the spare part to fix my bike. I took it to a local mechanic who just changed the clutch plate gasket and my bike was as good as ever. The service centre in Ambala had put silicone over the gasket which was messing with the bike! These are problems one wants to avoid when on tedious, long routes.

    Locals:

    The locals were very polite and helpful. We stopped at a number of locations to confirm directions and they never once directed us the wrong way.

    Food Joints and Stopovers:

    On the way to Ambala there are many eateries which offer great food.

    We booked Oriental Hotel for our stay in Leh-Ladakh, and I’d be happy to recommend it as a good place to stay.

    PIT STOPS


    1