I am trying to use Google Maps API in my application. I am not able to get result out of this simple API request. A week ago this code was working perfectly. I don't know if there is a problem in the Google's service or my code.
Here is my request:
       $.ajax({
            type: "GET",
            url: apilink,
            data: {
                origin: start.replace(/ /g, '+'),
                destination: end.replace(/ /g, '+'),
                waypoints: 'optimize:true|' + waypts.join('|').replace(/ /g, '+'),
                travelMode: google.maps.DirectionsTravelMode.DRIVING,
                sensor: false
            },
            dataType: "json"
        }).done(function (response) {
        alert("inside done");
       });
Looking into my javascript console, this was my request :
Now as I open this link, I am able to see the JSON response. But I am not able to get the alert "inside done".
What has gone wrong in just few days ?
 
    