Owd-Larrd / gwt-google-apis

Automatically exported from code.google.com/p/gwt-google-apis
0 stars 0 forks source link

correct mapkey setup how to? #460

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
maps api 1.1.0, Windows, IE8, GWT 2.1.1

Give a Detailed description of the problem.  If possible, please include
some code that reproduces the problem and a verbatim copy of any error
messages you can find.

I've two Tomcat cluster behind of Apache httpd as connected by mod_jk
and I've the generated key for my domain.  however, the generated mapkey for my 
domain never work correctly and always display web site need different mapkey 
message then the famous static earth picture. (with empty mapkey, the Earth 
instance can be initialized at least after the "need different mapkey message") 

I've double confirmed that my the key is correctly embedded my DOM and verified 
the correct key value using window.alert() function.

Original issue reported on code.google.com by gmddufp...@gmail.com on 5 Apr 2011 at 2:40

GoogleCodeExporter commented 9 years ago
In your client code, print out the value of Window.Location.getHref() and make 
sure that the URL you are passing in (ip address/host name and port number) 
match the values you registered.  

If there are multiple domains and ports used, you may need to use the 
com.google.gwt.ajaxloader.client.AjaxKeyRepository feature to store a lot of 
domain:port --> key pairs and pull up the right one at runtime.

Original comment by zundel@google.com on 5 Apr 2011 at 11:31

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by zundel@google.com on 28 Oct 2011 at 4:23