Hello! I have the coordinates of my marker. Now I want to get the address of the marker. So I searched the web and found google maps reserve geocode. Now I tried to do the following:
$.getJSON('http://maps.google.com/maps/api/geocode/json?latlng='+point.lat()+','+ point.lng() +'&key='+apiKey+'&sensor=false&output=json&callback=?',
function(data) {
console.log(data);
});
When I try to show the address, meaning getting the json, firebug throws the following error:
invalid label
on
"status": "OK",\n
I searched a lot, but didn't find an answer solving my problem. Can you tell me whats wrong with my code?
Is there another way to get the address data for the coordinates?