Skip Navigation

[Resolved] Locations Google Maps

This support ticket is created 5 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 8 replies, has 2 voices.

Last updated by Minesh 5 years, 3 months ago.

Assisted by: Minesh.

Author
Posts
#1311277

Hi Toolset support,

I would like to build a distance search. I created a View:

hidden link

Created to posts with locations with 10 km distance but it gives no results. Any idea how to solve this?

Thanks,
Menno

#1311297
#1311381

FYI: i changed the permalink to hidden link.

I really don't know why it keeps saying No items found when i search for the location 'Sneek' and 20 km distance. I have another location 'Bolsward' within 10 km from Sneek.

#1311389

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

For now, I deactivated the Cache plugin "Comet Cache Pro".

Then I registered my test Google Map API key to your install. (Please remove it once you confirm its working)

Please check now - I see its working
=> hidden link

#1311393

I was just testing with my API key, that works also now.

#1311395

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Great - can you please make sure to remove my test Google MAP API key. Thank you.

#1311413

Hm it's not working anymore.. Don't know why? API key has no limits now..

#1311977

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Again, when I checked Google API key you registered and click on "Check API" button I can see the message "REQUEST_DENIED - This API project is not authorized to use this API.".
=> hidden link

Can you please make sure first that Google API key is configured correctly.

#1312023

Hi Minesh,

I didn't know what was going wrong and i Googled the error. It looks like the Directions API and Geocoding API were missing. I added them and now the API key works :). Maybe this needs to be added to the documentation?

Thanks,
Menno

#1312025

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Great - I will check it and report it to our Doc team.