Google MAP doesn't load

  • Posted in : Empathy
  • criss
    Participant

    Hello,

    In the contact page the map is not loading correctly. Although it shows up for a second or two, then I get an error message. Looking at the Javascript console I see the following:

    “Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error” js:35:315

    “Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys” util.js:211:33

    “Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required” util.js:211:33

    Any ideas? Thank you.

    serkan
    Moderator

    Hi,
    Please go to appearance > theme options > general > be sure that you wrote the right google map api key here.

    criss
    Participant

    Hi, thanks for your reply.

    I don’t use the WordPress theme but I use the HTML version. I have all coordinates correct but not loading. Any ideas?

    serkan
    Moderator

    Hi criss,
    Could you download the template and try it again? Also could you provide me your related url, please ?
    Thanks

    criss
    Participant

    Hi serkan,

    Thanks for your reply. I’ve just downloaded the template again and uploaded it directly onto my server without changing a thing. Still the same problem remains.

    Here’s the URL –> http://makiskyrkos.com/test/

    *In localhost it works fine but as soon it goes on the server it’s not loading*

    serkan
    Moderator

    Hi,
    I will forward this issue to our developer and he will contact you soon. Thanks for your patience.

    criss
    Participant

    Thank you, I appreciate it.

    ahmetsali
    Keymaster

    Hi,

    Google map api requires api key for new domains to show the map, otherwise throws js errors, which might be breaking the js codes of the theme. In this case you need to add your google map api key at the end of google map api script url;

    <script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY_HERE"></script>
    

    Get your api key here;

    https://developers.google.com/maps/documentation/javascript/get-api-key

    criss
    Participant

    Hi,

    Many thanks for your prompt reply, everything works great now. I appreciate it, take care.

    serkan
    Moderator

    You’re welcome, please don’t forget to rate the theme on themeforest if you liked it, thanks.

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register