You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there's a lot of routes on a page, we get this error:
This is because we calculate the routes via the Google Maps API every time we display a route on the frontend, and we're hitting the rate limit. I've done a temporary fix by logging the error to the console, rather than alerting, but we need to do two things here:
Move away from the Google Maps Directions API, and use Mapbox, which we use elsewhere anyway
Cache the route so we're not hitting the API every time.
The text was updated successfully, but these errors were encountered:
If there's a lot of routes on a page, we get this error:
This is because we calculate the routes via the Google Maps API every time we display a route on the frontend, and we're hitting the rate limit. I've done a temporary fix by logging the error to the console, rather than alerting, but we need to do two things here:
The text was updated successfully, but these errors were encountered: