That performs a text search on the name of a town or city e.g. London and shows results of anyone with that town or city in their address entry.
This has worked fine for some time.
Whilst many results show as expected e.g.
Search 'Liverpool', and amongst those results is Anne Hilder, and her detail page loads the map as expected: hidden link
More recent entries we've created are not showing up in the map search e.g. try searching 'Bodmin' – there are no results.
and their detail page is showing no location (it's centring off the west coast of Africa) hidden link
Can you see why this might be? We are creating new entries the same way as older ones.
We can create WP access for you if needed.
Hello. Thank you for contacting the Toolset support.
Can you please share admin access details and let me check what's going wrong with your setup.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
When I checked on the map's settings page - I can see the google map API key is showing error:
- hidden link
REQUEST_DENIED - API keys with referer restrictions cannot be used with this API.
OK, I found it.
I've used a new API key, but it seems you're not able to restrict by domain for this use - is that correct?
I tried restricting by IP of the web server but that didn't work.
How else can I safely restrict the API's usage and have new entries correctly display on the map?
Please read this:
To protect your API key from unauthorized usage and charges, it’s important to add domain restrictions to it. By setting restrictions, you can specify the websites that are allowed to use your API key, preventing unauthorized access from other sites. You can set these restrictions in the Google settings for your API key.