Skip Navigation

[Resolved] Toolset Map Load cache table not working

This thread is resolved. Here is a description of the problem and solution.

Problem:

I am trying to cache all my locations data I am not able to make this working , I have 170 locations that imported from wp all import, it only works when I save like single location in the post editor, I found that if the cache is not working then the map is not displaying correctly

Solution:

The client fixed this issue by reset the Google map API keys.

Relevant Documentation:

https://toolset.com/course-lesson/creating-a-maps-api-key/

This support ticket is created 3 years, 9 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 2 voices.

Last updated by robina-2 3 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#2015259

Tell us what you are trying to do?
I am trying to cache all my locations data I am not able to make this working , I have 170 locations that imported from wp all import, it only works when I save like single location in the post editor, I found that if the cache is not working then the map is not displaying correctly

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?
hidden link

#2015643

Hello,

I suggest try these:
1) Backup your website database
2) Dashboard-> Toolset-> Settings-> Maps:
In section "Cached data", click button "Load stored data", find and remove those problem locations, and test again.

More help:
https://toolset.com/documentation/user-guides/data-caching-for-google-maps-addresses/

#2016097
Capture.PNG

hi,

This is what I tired already, these data are loaded from the toolset cache table, my issue is how to generate these data, this table only show your existing convert location.

see here it manually created 3 locations and it shows three

hidden link

let me know if you need more login info and I can provide them to you to take a look at the admin.

#2017911

The map data cache generate when you
1) Save the custom address field in admin side
2) Display the map marker shortcodes in front-end:
https://toolset.com/documentation/programmer-reference/maps/maps-shortcodes/#wpv-map-marker

I have checked the URL you mentioned above:
hidden link
There are 6 items in view's loop, and it does display 6 markers in the Google map, what do you expected to

How do you setup the post view?
Are you ordering the results by address distance?
If it is, I suggest you try these to generate the marker cache data:
1) Edit the post view, change the orderby option to something else, for example: order by post title, refresh the page in front-end, generate the marker cache data, check if you can get all map markers.
2) Then reset the orerby option to distance again.

#2018633

Hi,

I tested with both options
1) Save the custom address field in admin side: this is working, but sometime I had to save the admin post twice
2) Display the map marker shortcodes in front-end: This is not working I had this marker short code on all my single location page
eg. hidden link

Also I tried what you suggest to reset the view not working either.
hidden link

so please advise, let me know how do I send you a username/password without public review so you can take a look.

thx

#2018669

it is the google api permission issue thx again for you help