Skip to content Skip to sidebar Skip to footer

Something Happened To My Google Map Api Script

I've been doing mobile part of my project after 'completing' the web part. I'm using google map api. I have coded following: function codeAddress() { var image = 'i

Solution 1:

Don't access undocumented properties like e.g. results[0].geometry.location.nb . The names of these properties may(and will) change. To access the values of these properties use the documented methods, e.g. lat() to access the latitude of a LatLng-instance:

document.getElementById('latitude').value 
    = results[0].geometry.location.lat().toPrecision(9);

Post a Comment for "Something Happened To My Google Map Api Script"