Google maps autocomplete api v3 suddenly stopped working -
so surprises find after changing no code @ google maps auto-complete api stopped working. logged out results see happening.
i had been getting lat lng auto-completed address follows:
new google.maps.latlng(from_autocomplete.getplace().geometry.location.d, from_autocomplete.getplace().geometry.location.e); the d , e being lat , lng coords. found error response autocomplete object (autocomplete.getplace().geometry.location) now:
k: 53.002668, a: -2.179403999999977 why d , e change k , a? had been working weeks , changed without notice.
you used properties of internal object structure can change time.
geometry google.maps.places.placegeometry type property location google.maps.latlng class. can latitude , longitude using officially supported lat() , lng() methods.
Comments
Post a Comment