Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jamie Robb 10 posts 40 karma points
    Aug 29, 2013 @ 13:36
    Jamie Robb
    0

    Locator Razor package suddenly stopped working?

    Hi folks,

    We appear to be having an issue with all our live websites which use this package with google maps - basically any page which uses it is failing to load and just times out.

    Has anyone else encountered problems?

    Cheers,

    Jamie

  • Jamie Robb 10 posts 40 karma points
    Aug 29, 2013 @ 13:48
    Jamie Robb
    0

    Forgot to add that the package still works fine in our local development environment, it's just on the live websites it seems to have suddenly stopped working :/

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Aug 29, 2013 @ 13:50
    Tim Geyssens
    100

    Maybe you've hit the google usage limit https://developers.google.com/maps/documentation/javascript/usage?hl=nl

    Any js errors ?

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Aug 29, 2013 @ 13:51
    Tim Geyssens
    0

    Or a new doc that doesn't have the coordinates stored causing issues...

  • Jamie Robb 10 posts 40 karma points
    Aug 29, 2013 @ 14:24
    Jamie Robb
    0

    Hi Tim, thanks for replying so quickly.

    I think we appear to be over the query limit, so every time we call the line - GeoResponse r = GoogleGeoCoder.CallGeoWS(Request["s"]); - it's empty because the API is returning a status of "OVER_QUERY_LIMIT".

    Don't suppose you've any ideas how we can get around this??  If we got an API key per site then would that help to split up the usage between all sites using the package?

    Jamie

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Aug 29, 2013 @ 14:56
    Tim Geyssens
    0

    Doesn't work with api keys anymore so guess you'll need to purchase additional quota from google https://developers.google.com/maps/documentation/javascript/usage

  • Jamie Robb 10 posts 40 karma points
    Aug 29, 2013 @ 17:45
    Jamie Robb
    0

    Cheers for your help.  

    I thought at first there was no way we'd hit the limit since it's 25,000 a day, then I discovered that the limit for the Geocoding API is a lot less (2,500 apparently).

    Had a dig about one of our recently launched websites and think we've found some unnecessary (and frequent) calls to the API which may have caused us to reach the quota. Hopefully our quota resets back to 0 tomorrow!

    Jamie

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies