Sir_Yaro
Sir_Yaro

Reputation: 3

places Autocomplete return incorrect coordinates

Yesterday I found weird problem in Places Autocomplete feature. I couldn't find solution so I start over from the begining.

I check google example: https://google-developers.appspot.com/maps/documentation/javascript/examples/places-autocomplete

Using example I found this place:

23847, Bad Oldesloe, Niemcy

at coordinates: 53.7459271,10.483967699999994 (which is wrong).

When I did exactly the same at https://maps.google.com marker appears in different place. At 53.806505,10.374177. Distance between this two places is more than 10km.

In addition my client reported me that he found location where difference is about 800km !!!

Does anybody know what cause it? Or how to fix it? It looks like api problem for me but I'm rather new in Google API so I'm not sure...

Upvotes: 0

Views: 1490

Answers (1)

Dr.Molle
Dr.Molle

Reputation: 117364

You cannot know what results google uses inside their maps-implementation. I guess it's a mixing of geocoding and places. You may request the location via geocoding and will see that you get the desired result.

Upvotes: 1

Related Questions