Google Places Autocomplete API address issue

Google Places Autocomplete API is an awesome tool for a directory website. But you might get a problem with its result. So I note this post here for you guys (or for me) in future to take a look if you get any problem with the API.

In this case, I want it showing something like this:

But on my website, it showed something like this:

So what I was looking for an address in Vancouver Canada, but it does not show up since I got an incorrect configuration in my Javascript. I have to put the address types: address to make sure all the addresses show up. See the figure below:

That’s the only thing for this post. A tiny thing but it would take you so much time to resolve.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: