DISTANCE function

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
customaware
Posts: 2391
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: DISTANCE function

Post by customaware »

Have you added geometry to the googleapi params in the aware.js file.....

If not.....

AwareIM/Tomcat/webapps/AwareIM/aware_kendo/aware.js

Seach for googleapi

You will find the following....

var c="https://maps.googleapis.com/maps/api/js ... ies=places";

You need to change it to....

var c="https://maps.googleapis.com/maps/api/js ... try,places";

Save the file and restart Aware.

Note: geometry MUST be first like geometry,places. if you put it last like.... places,geometry, it won't work.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: DISTANCE function

Post by aware_support »

The settings in the aware.js file do not affect the DISTANCE function, as it executes on the server.

The problem is with your Google project - I have no idea what it is.
Aware IM Support Team
Post Reply