Google Maps API Updated

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • brandonecarr
    Junior Member
    • May 2014
    • 12

    Google Maps API Updated

    Perhaps this is in the wrong section, and please forgive me and move it if it is. However, it looks like Google has updated their API, and now all I'm getting is a grey screen with the following message instead of map display:

    "Oops! Something went wrong.
    This page didn't load Google Maps correctly. See the JavaScript console for technical details."

    Is this something that will be updated in the next version, or is there a simple fix we can do on our own?

    Thanks!!

    Brandon
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Hi,

    I just checked and it worked well. Check what is in your browser console (F12).
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • AlexAv
      EspoCRM Team
      • May 2014
      • 124

      #3
      Please provide a screenshot and check for JS errors. Do you have any installed browser extensions?

      Comment

      • iscon
        Active Community Member
        • May 2014
        • 187

        #4
        Same here - console says: Google Maps API error: MissingKeyMapError ....js?callback=mapapiloaded:35
        ------------------
        Robert Laussegger
        iscon group
        http://www.iscongroup.net
        mailto://info@iscongroup.net

        Comment

        • yuri
          Member
          • Mar 2014
          • 8440

          #5
          We will fix it in the next major release.

          For now quick fix:
          client/src/views/fields/map.js
          var src = 'https://maps.googleapis.com/maps/api/js?callback=mapapiloaded';
          change to
          var src = 'https://maps.googleapis.com/maps/api/js?callback=mapapiloaded&key=YOUR_API_KEY';
          If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

          Comment

          • brandonecarr
            Junior Member
            • May 2014
            • 12

            #6
            Originally posted by yurikuzn
            We will fix it in the next major release.

            For now quick fix:
            client/src/views/fields/map.js
            var src = 'https://maps.googleapis.com/maps/api/js?callback=mapapiloaded';
            change to
            var src = 'https://maps.googleapis.com/maps/api/js?callback=mapapiloaded&key=YOUR_API_KEY';
            That did the trick. Thanks so much!

            Comment

            Working...