The Google Maps API daily query limit has been reached

Home Forums Calendar Products Events Calendar PRO The Google Maps API daily query limit has been reached

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1099478
    Yan
    Participant

    Hi,

    I have about 300 venues on my website. Only the first 100 appear on the map because the other 200 have the following error when updating:

    The latitude and longitude for your venue could not be fetched. The Google Maps API daily query limit has been reached!
    

    After looking at forums, I found out that it is not connected to the IP adress, but per website.

    What I’ve done so far:
    – Turned off all themes and plugins
    – Reverted to TwentyFourteen
    – Reactivate TheEventsCalendar and TheEventsCalendarPro plugins
    – Went to a venue, clicked ‘Update’ -> Same error appears
    – Tried at different time of the day, every day for the past two weeks.

    I’m really struggling with this one, can anybody assist?

    Thanks,

    #1100026
    Brook
    Participant

    Howdy Yan,

    Great question.Thanks for sharing everything you’ve tried.

    Google Maps is in the process of switching up how things are limited. Currently it is by IP, and thus you share your limit with every other site on your server. On shared servers this is basically a death sentence, if a single site on your server gets a bunch of views, or if all of them do, then others can use up your quota. This isn’t a bug in the plugin, isn’t your fault, Google’s, or anyones. It’s just the nature of shared servers. To fix this you should look into switching servers or at least IPs. The only sure fire way to make sure other folks aren’t using your limit is to get a server with a dedicated IP. You will need to either talk to your current host about doing this, or look at a new host.

    Does that all make sense? Will that work for you? Please let me know.

    Cheers!

    – Brook

    #1101203
    Yan
    Participant

    Actually, generating an API Key and adding it to the code solved this problem. It’s free and was very fast fix.

    However, I see that The Events Calendar and The Events Calendar Pro both uses different gmaps calls, and because of that one venue that is working in The Events Calendar doesn’t work on my map view of The Event Calendar Pro.

    Example: Look at Manana Festival on http://hash.events/events/map/?action=tribe_geosearch&tribe_paged=1&tribe_event_display=map&tribe_eventcategory=63
    The Google Marker doesn’t appear, yet if you click on the Venue (under the Manana title) another google maps apppears.

    Any idea?

    Best,

    #1101732
    Brook
    Participant

    Yeah we use a wide variety of calls, and to my knowledge you will have to add your key to each. When I researched this in the past it was going to be anything but easy, and involve direct edits to our files in a number of places so you wouldn’t be able to update the plugin. As I said we’re in the process of switching to the new Gmaps API. We’re actually probably going to skip keys altogether and just move all of the queries clientside.

    I can’t see the example you linked. I likely need to be logged into get past the Website under development page. I’m not quite sure what the problem is here but perhaps it pertains to the above, it will be a different area you will need to attach your key and adjust the API settings?

    • Brook
    #1101816
    Yan
    Participant

    I fixed the issue. It was because the Venue was not autocompleting latitude and longitude automatically because of a bug in the code (I already notified devs)

    #1101895
    Brook
    Participant

    Thanks for getting back! Happy this is working now.

    • Brook
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘The Google Maps API daily query limit has been reached’ is closed to new replies.