Forum Academy Marketplace Showcase Pricing Features

Google API List Search Not Working

Hello,

I am trying to use Google Places API to get a list of golf courses near the current user’s location.
Right now, I have it set up so you can type in a location in an input box, select a radius and then click search. If I set it to a single marker it works and places a marker on the location typed in, but when I change it to list, the map doesn’t even center on the user’s location. Here’s how I have the data set up:

I’m sure there’s something I’m doing wrong, any help would be greatly appreciated! Thanks

PS - Also not sure what I should do for type as there is nothing related to Golf Courses.

Use the “Set Centre and Zoom manually” if you want it centred on the current location or input location.

The query above will look for places of type “gym” with keywords Golf Course. There isn’t a type for Golf, so maybe best to leave it off and just have a keyword of Golf ?

Thank you for the response! I’ll give that a try and let you know if it works.