Announcement

Collapse
No announcement yet.

Google Maps API Updated

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    Hi,

    I just checked and it worked well. Check what is in your browser console (F12).

    Comment


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

      Comment


      • #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


        • #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';

          Comment


          • #6
            Originally posted by yurikuzn View Post
            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...
            X