Пытаюсь получить
$.ajax({
dataType: "json",
type: "GET",
url: "http://maps.googleapis.com/maps/api/distancematrix/json",
data: { origins: "Челябинск", destinations: "Екатеринбург", language: "ru-ru", sensor: "false" }
})
.done(function(data) {
$("p").text(data.toString());
});
и не выходит
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '
localhost:63342' is therefore not allowed access.
Вообще пытаюсь получить расстояние
что не так подскажите,может есть скрипт адекатный