Surrounding module: Google Distance Matrix API usage limit per request

More
4 months 5 days ago #20627 by abosaleh
I noticed that when no. of Properties exceed 26, Surrounding is not listed as usual.
It was very hard to figure out this result.
So We had to test on a pure new website made only from Infinity Kickstart.
Then we replicated Properties up to 30 to notice the issue.
Is this intentionally objected?
Please see images

Attachments:

Please Log in or Create an account to join the conversation.

More
4 months 4 days ago #20631 by solidres
Hi,

There is no fixed limitation number here, please raise a private support ticket and provide us your website information so we can debug it further for you.

Regards,

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago - 1 month 3 weeks ago #20711 by abosaleh

Yes there is a limitation but it was hard to figure out.
It was from: Google Distance Matrix API
That API limits the number to 25.
When number of assets exceeds 25, it will stop functioning
Adding the next code in the helper will solve the issue:
$assets = array_slice($assets, 0, 25);
the new code is attached (helper.txt)

This message has an attachment file.
Please log in or register to see it.

Last edit: 1 month 3 weeks ago by abosaleh.
The following user(s) said Thank You: joomleb

Please Log in or Create an account to join the conversation.

More
1 month 2 weeks ago #20719 by solidres
Hi,

Thank you for your feedback, we will add support for this limitation in the next Surrounding release.

Regards,
The following user(s) said Thank You: joomleb

Please Log in or Create an account to join the conversation.

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?