View Single Post
  #10 (permalink)  
Old 07-08-2009, 07:45 AM
mosca.br mosca.br is offline
Trained Alumni
 
Posts: 5
Default

Quote:
Originally Posted by carnold View Post
Not exactly sure how to see if it is enabled

It does show up in that list


It does highlight just the popup says cant find API for domain. I looked back at the google account and copied the key into the mysql DB table. Still says key not found
When you click on the address that is highlighted, it does bring up the google maps of that address. Seems like it works when you click the link but not when you hover over the link/address.
Oh, the map that comes up is from google brazil. The config file says US?
Are you sure the credentials for the mysql database are correct?

Try the attached version, as I added the possibility to show some debug information to the dialog box.

Update the zimlet and add
Code:
<property name="enableDebug">TRUE</property>
to the config.xml. You may need to restart your mailbox process after updating the Zimlet.

If debugging is enabled and there is any problem connecting to the mysql server, it will display the exception under the "key not found" message.

You can also easily check if the Zimlet is setup correctly by accessing the jsp it uses to display the google maps output directly, like this:

http://your.public.service.hostname....C3%A3o%20Paulo

If you go to this url directly, you can also view source to check what the Zimlet thinks is your baseCountry and the API host it is looking for in the keymap table.

They will both be inside a comment block in the html source, like this:
Code:
<!--
Base Country: us
DB Host: retirante
-->
I'll probably update the README file with the result of this discussion. Better documentation never hurts!
Attached Files
File Type: zip net_inova_gmaps.zip (25.6 KB, 21 views)

Last edited by mosca.br; 07-08-2009 at 12:03 PM..
Reply With Quote