Set Default Location – Google Map Not Loading

This topic contains 2 replies, has 2 voices, and was last updated by  Guust 7 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #368461

    Nigel Stephens
    Expired Member
    Post count: 59

    Hello,

    I recently purchased the full Geodirectory membership package and managed to easily generate an API and use Google maps on it with no issues.

    After a period of testing on Geodirectory (with all the addons), I used the WordPress Reset plugin to wipe the site so I could clear all the testing data/settings and start from scratch with creating my directory.

    Since doing this however, I have been unable to set my default location as the Google map will not load and says “Oops! Something went wrong.
    This page didn’t load Google Maps correctly. See the JavaScript console for technical details.”

    I have generated several new APIs but they all result in the same problem. I have now deleted all of these and reverted back to using the original.

    When I inspected a page on my website it has a Google Maps API error – Google Maps API error: RefererNotAllowedMapError https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error
    Your site URL to be authorized: http://findatradesmannearyou.co.uk/

    I reviewed my Google account and saw an error regarding ownership of my API project. I corrected this but still the problem persists. The map does appear for a split second but then the “Oops! Something went wrong.
    This page didn’t load Google Maps correctly. See the JavaScript console for technical details.” appears.

    I have read through several of your forums and tried the API KEY for Google Maps plugin as suggested in one but to no avail.

    Do you know what the issue is and how I can go about fixing it?

    Many thanks in advance

    Nigel

    #368464

    Nigel Stephens
    Expired Member
    Post count: 59

    Hi,

    Following on from my email above, and after reading some reviews on google, I have identified what was causing the issue. It appears to be the setting on Google API and the example they give not being correct. I have attached the link to the info I found if anyone else has the same problem.

    http://stackoverflow.com/questions/35288250/google-maps-javascript-api-referernotallowedmaperror

    Thanks

    Nigel

    #368473

    Guust
    Moderator
    Post count: 29970

    Thanks for posting that, we usually just recommend to delete all API at Google and start again.
    I’ll set this to resolved.
    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket