Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.

Google Maps API Key - not loading google maps

eyles

Hi Guys,

How do i get google maps to work inside AwareIM ? I believe it has to do with loading the Google Maps API key.
I know how to generate an API key but how do i integrate it into AwareIM ?

I have attached screenshots on error messages within the developer tools of googlechrome and what the page looks likes when it tries to load google maps.

googlemaps-myforte.PNG

googlemaps.PNG


4xjbh

Add the key to the google maps system settings attribute...


eyles

AH... ofcourse !

haha thankyou !


aware_support

Google has changed its policy recently. Some servers registered before a certain date will still work and some won't. localhost will always work. We will fix this one of these days. In the meantime you need to do the following:

Don't use the value in SystemSettings. Do the following instead:

  1. Open the file AwareIM/Tomcat/webapps/AwareIM/aware_kendo/aware.js
  2. Search for "googleapis.com"
    You will find this line:
    https://maps.googleapis.com/maps/api/js?sensor=false&callback=gm_loaded&libraries=places
  3. Add &key=your key
    https://maps.googleapis.com/maps/api/js?sensor=false&callback=gm_loaded&libraries=places&key=123456
  4. Clear browser cache and refresh the browser

4xjbh

Thank you support. A fortuitous response just as I added maps to my app.