We recently launched a new site using Toolset and the site is incurring over $1,000 USD in fees per month for using Toolset. The majority of this is related to Geocoding. Is there a way to reduce this cost? In the screenshot, you see I went to the caching section on the Maps tab. I hit "Check for missing cache entries" and it says 355 missing cache entries found. Does that mean the remaining is being processed? Is that going to help this issue? Is there anything else I can do to reduce the cost? We will not be able to continue using the plugin if there is no way to reduce this. Is Microsoft Azure Maps API more cost effective? Thank you.
thank you for the reply. It appears we are missing "USA" on the end of the addresses and we are not using the suggested address, so the addresses are not geocoding. I will work on fixing that.
Does the static map approach work for displaying a View with multiple addresses or does that only work for showing 1 address?
Also, does it help to use pagination to reduce the number of displayed results on page load? On this page for example (hidden link), about 70 addresses load in the map on page load. If we reduced this using pagination, would that help or does it not matter? Could we use the static map api approach for displaying this map?
Once the address are cached it will display/plot the marker from the cache address hence result in minimizing the number of request made to google MAP API. In addition to that, if you use pagination its subject to address is cached or not. But yes, definitely it will help in in terms of performance as loading 10 posts per page with map and loading 100 posts per page with map could be understandable difference.
Regarding plotting all address using static map, I'll have to consult Nigel who wrote that static map solution and I will get in touch with you early next week.
I just checked with Nigel and It's pretty tricky, because for a static map all of the marker info is in a single URL for that static map, so it's very hard to generate something like that using Views and another issue would be radius or center point as lets say you set your static map size (400 x 400) and also set the map center but we do not know what marker's distance is from center point we set and map site so when map marker point it outside the size of map it will not display so its really hard to to decide what the middle of the map is and choose a zoom level.
In addition to that, to add multiple "dynamic" markers to static map its not easy and requires custom code and that's custom work that is beyond the scope of our support policy. Its on you now and what choice you prefer.
Ok I understand about the static map.
Just to clarify on your comment: "In addition to that, if you use pagination its subject to address is cached or not. But yes, definitely it will help in in terms of performance as loading 10 posts per page with map and loading 100 posts per page with map could be understandable difference."
Are you saying that pagination it will not reduce our Google Cloud fees, but it will improve site speed and performance?
I have gone through all 473 directory entries to select the suggested address. However, it says we are missing 6 cache entries. Is there a way to identify which 6 are missing?
Is there anything else we can do to reduce geocoding api fees at this time?
Are you saying that pagination it will not reduce our Google Cloud fees, but it will improve site speed and performance?
==>
Yes, but subject to the address is cached or not. Lets say you set your view to display 10 posts per page and out of 10 posts 5 posts address is not cached that means 5 posts are available in cache table. So, when displaying those 10 posts, 5 posts as cache available will be displayed from cache hence it will not query Google Map API as the available address is stored in Toolset map address cache table and for remaining 5 posts for which the map address cache is not available it will query the Google Map API.
I have gone through all 473 directory entries to select the suggested address. However, it says we are missing 6 cache entries. Is there a way to identify which 6 are missing?
==>
No, it will just show the missing entries count. Check if you have any draft posts.
Is there anything else we can do to reduce geocoding api fees at this time?
==>
You may like to offer the page to only Logged in users so that its not available to all public. Its on you actually that to whom you want to offer access to your content.