', "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": '

\0

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

\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

\"\'><

',"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": '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": 1,"title": 'Siliguri, West Bengal, India', "lat": '26.726952', "lng": '88.3952897', "description": 'Siliguri, West Bengal, India', "id": '' }]; var wps = []; /* var totalwps = '[]'; 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(18.5206624,73.8567415); var dest = new google.maps.LatLng(26.726952,88.3952897); 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


  • Sikkim- The Jewel of Eastern Himalayas

    sikkim website

    Start Destination: Pune, Maharashtra, India    End Destination: Siliguri, West Bengal, India
    Distance: 2,356 km    Bike: KTM ,
    Start Date: 12/08/2016    End Date: 12/25/2016

    Been many years,I have been craving to ride to Sikkim.Many plans failed and got re-planned with no immediate success.While i left my regular paying job for no particular reason,i realized that there wont be any perfect time like this to break the long pending jinx.I started this ride from Pune and rode all the way to Sandakhpu,highest point in West Bengal.Moved on to Darjeeling and then finally to the one of the most happening capital – Gangtok.

    Tough terrain of Sandakhpu claimed the life of rear suspension and i had to get it changed.Suspension was not available in Gangtok, so I had to take a shared taxi to Siliguri to get the part. Changing the suspension was quite some challenge as well, because the frame bolt on which the upper loop of suspension hangs on was completely jammed. We had to cut the upper loop of the suspension to get it out from the bike.Quite a nut cracking job it was,which took many mechanics and one full day.

    Here is quick summary on how to obtain permits for visiting north sikkim.

    Permits for North Sikkim(Gurudongmar/Zero Point) and East Sikkim (Nathula/Zuluk) for Motorcyclists .It only takes 20 rupees and bit of effort to get it done.

    Step 1 – Go to Home Ministry office in Gangtok(Opens at 10 am) with two copies of below documents
    1 – Motorcycle registration,it must be in your name.In case it’s on someone else’s name..process is complicated which I don’t know
    2 – Driving license
    3 – Motorcycle insurance
    4 – Pollution certificate
    5 – Passport or Voter Id (Didn’t asked if other ids like pan card or aadhar card are valid)

    Step 2 – Collect the permission form,fill it and attach one set of photocopies with form.One passport size photograph is required as well.Submit at the same desk from where you collected the form. You will be asked to collect the permissions on second half or next day depending on the work load.

    Step 3 – you will get few sets of envelopes when your permission is granted from home ministry. Next step is to get the permit from Police which is the main deal. You have to go to 3rd mile check post to get it done, which is bit far from Gangtok and on the the way to NathuLa.Reach there submit the envelope you received from home ministry which is on the name of ADGP,3rd mile check post …pay 20 bucks and receive the permit. Usually they will issue north sikkim permit and will ask you to come back for east sikkim permit..which is ok as the check post is on the route to Nathula

    Step 4 – Get atleast 8 photo copies of the permit you received from 3rd mile check post. You have to submit the copies at the check points on the way.I was advised to take 6 copies and i ran out of copies in Lachen, luckily I found a Xerox shop which was functional and paid 5 bucks per copy.

    Fuel – Beyond Mangan,no fuel pumps. Confirmed fuel availability(Black me) in Lachung in zero point circuit and Thangu in Gurudongmar circuit.Fuel rate 100 rs per litre.

    Mobile Networks – Airtel and Vodafone has good connectivity in North sikkim.Idea network available only till Mangan, beyond Mangan zero connectivity.BSNL bhagwaan bharose.

    Recommended route for North Sikkim
    Day 1 – Gangtok – Chungthang – Lachung
    Day 2 – Lachung – Yumthang – Chungthang – Lachen
    Day 3 – Lachen – Gurudongmar – Chungthang/Mangan

    IMP – NATHULA IS CLOSED FOR CIVILIANS ON MONDAY AND TUESDAY, ONLY ARMY PERSONALS ARE ALLOWED.EVEN THOUGH YOU HAVE PERMISSION FROM HOME MINISTRY YOU WON’T BE ALLOWED TO GO NATHULA.

    PIT STOPS



    1




    CHECKINS

    No Checkins Added.

    0 Comments

    Leave a reply

  • Forgot your details?


    Reset Password