Handling Google maps quota
-
I run a web site for a non-profit club and recently had to upgrade to a billable account with Google so we could continue to use maps in our events. We are trying to stay under the free limit, so I have set the daily limit moderately low. That limit is still higher than our usual traffic, but when a new event gets posted, we do get quite a bit more traffic for a day or two.
I did a quick experiment, and when the quota is exceeded, I see a dialog from Google maps telling me the map can’t be displayed. It allows me to go into “developer mode” (disabled map), and the js console shows a message about the quota being exceeded.
Is there a way to have the map code detect that there is a quota problem and instead of showing the map itself, show a link to Google maps for the address? That way, people could still get to the map instead of seeing an ugly image for the rest of the day.
It would really be nice if Google had a more dynamic quota system. We will almost certainly never exceed our monthly limit, but we could exceed our daily limit once or twice. It would be great if they would provide a way to recalculate the daily limits based on the remainder of a monthly limit. As it is, I will need to do this manually when we get close to an event. Of course, this is something I should be suggesting to Google…
- The topic ‘Handling Google maps quota’ is closed to new replies.