可能重复:
带有 google geocoding api json 的
json Uncaught SyntaxError: Unexpected token :
$.getJSON('http://maps.googleapis.com/maps/api/geocode/json?latlng=40.714224,-73.961452&sensor=true&callback=?', function(data) {
console.log(data);
});
它给了我这个错误:Uncaught SyntaxError: Unexpected token :