Details
-
Type: Task
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: None
-
Fix Version/s: 1.1
-
Component/s: None
-
Labels:None
Description
The task - 'Map Contacts Using Google Maps' - is currently implemented using an unsupported (and apparently no longer functional) interface (i.e. it's broken).
Reimplement this functionality (mapping a selected set of contacts) using the new 'official' Google Maps API: http://www.google.com/apis/maps/
You will need to 'signup' at this url - and get api key(s). Ideally we can get a key that works w/ localhost (that we can use on our local installs) - and keys for our openngo.org URL's that we can use to 'demo' the functionality.
The API Key should be stored as config param (config.inc.php) - with empty default value (in .sample). If the the API Key is empty and the task is invoked - display the following error message:
"Your site must request an API Key from Google, and enter that key in the CiviCRM configuration file (modules/config.inc.php) in order to use the Mapping feature. For more information, refer to http://www.google.com/apis/maps/"
Also, unless it's a real pain - would be good to implement a 'single contact' mapping capability. If so, for contacts that have location data, add a linked 'Map' icon on the contact Selector which pops up a map window for that contact's primary location.