This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

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

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Marshal
Posts: 67451
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
preshen dasane
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
then tell me please how can i use its source for a my own webpage.
 
Ulf Dittmer
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry for disturbing, now I understand what you were saying.
 
Ulf Dittmer
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:What does "it doesn't work" mean? Are there any errors in the JavaScript console?


 
Enjoy the full beauty of the english language. Embedded in this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic