I have this code:
var directionsService = new google.maps.DirectionsService();
var request = {
origin : start,
destination : end,
travelMode : google.maps.DirectionsTravelMode.DRIVING
};
directionsService.route(request, function(response, status) {
var coords;
if (status == google.maps.DirectionsStatus.OK) {
coords = google.maps.geometry.encoding.decodePath(response.routes[0].overview_polyline.points);
callback(coords);
}
});
Yesterday the decodePath brought coordinates whose name of variables was Ya and Za, today became hb and ib. Why?