Possible Duplicate:
json with google geocoding api
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);
});
It gives me this error: Uncaught SyntaxError: Unexpected token :
You are trying to get a JSONP response from google maps , which it doesnt support.
Try this instead,