my dog learned polymorphism*
The moose likes HTML, CSS and JavaScript and the fly likes Google demo doesn't work after changing the key of the its  source Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Google demo doesn Watch "Google demo doesn New topic
Author

Google demo doesn't work after changing the key of the its source

preshen dasane
Greenhorn

Joined: Nov 20, 2008
Posts: 7
I tried a google map demo in google maps API demo gallery by just copying and pasting its source in to a normal notepad and save it as a html page. I only change the key of of it, with my registered key for local host in google maps. But it doesn't work even a bit as in the demo. I'm a newer to google maps. So please tell me what are changes I should do more to get the functionality of demo to get it worked.
URL of demo is http://graargh.returnstrue.com/rajdeep/maps/tools/latlong_tool/v7/lat-long-tool_v7.html
Please help me how to use its source to get its functionality to a normal html page. I am hoping to add this code in to a my project, do in ASP when it corrected.
Thank you very much!
Please help somebody.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60781
    
  65

"newer come", please check your private messages for an very very important administrative matter. Failure to do so may result in the closing of your account.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41106
    
  45
What does "it doesn't work" mean? Are there any errors in the JavaScript console? The key is meant for the server you registered it for; I'm not surprised it doesn't work for localhost.


Ping & DNS - my free Android networking tools app
preshen dasane
Greenhorn

Joined: Nov 20, 2008
Posts: 7
then tell me please how can i use its source for a my own webpage.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41106
    
  45
I'm not sure what you're asking - like I said, I wouldn't expect a key that you got for a particular server to work on some other machine. If you use it on the server you got it for then everything should work fine.

Of course, you still haven't told us what exactly is or isn't working, so all this may be moot because the problem lies elsewhere.
preshen dasane
Greenhorn

Joined: Nov 20, 2008
Posts: 7
Thanks for replying,
You must have seen the demo in the URL I mentioned. I just want to use such a thing in a web page. As I think normally by changing the key of demo into the key that I registered for local host is enough to work that demo in my local host. But when I changed so, it doesn't work. All I wanted to know is how to get the functionality of that demo in to a web page run in my local host.
preshen dasane
Greenhorn

Joined: Nov 20, 2008
Posts: 7
Sorry for disturbing, now I understand what you were saying.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41106
    
  45
Ulf Dittmer wrote:What does "it doesn't work" mean? Are there any errors in the JavaScript console?

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Google demo doesn't work after changing the key of the its source
 
Similar Threads
Google Maps and JSON Geocoding Output
Is there any chapter in your book for dealing with GPS and Map ?
google maps application using java
Maps of current Location
Sending Javascript variables to JSP variables