<script type="text/javascript" src="http://maps.google.com/map?file=api&v=2&hl=en&key=MY_KEY&sensor=true"></script>



<script type="text/javascript" charset="utf-8">
    google.load("maps", "2.x");

</script>

This works well on localhost. On domain it gives error about obtaining key. I followed step given 3-4 times with generating key 3-4 times. But it continues giving error about javascript v2 obtaining key

Recommended Answers

All 6 Replies

just confirming that you replaced the words my_key with the actual key given

I replaced key each time when I generated new one. But was not working.
But now automatically started working after 1 hour passed.

liekey there was a delay in google's system, getting the key from generation to validation servers

may be

Google map automatically stops and starts workning after every 3-4 hours.

Can any one help me to add simple gmap?

In my experience intermittent service is not uncommon with Google maps', though I've not noticed a regular pattern.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.