classygmaps icon indicating copy to clipboard operation
classygmaps copied to clipboard

Classic maps html stopped working

Open egoldobin opened this issue 6 years ago • 8 comments

Now it shows "This page can't load Google Maps correctly" pop-up and covers the maps with a shaddow where it is written "For development purposes only".

Any fix?

egoldobin avatar Sep 27 '18 13:09 egoldobin

Are you loading the version from gokml.net or a local copy?

Google have recently changed policies, that the API can't be loaded without a key. I've put a key on gokml.net, but is restricted to the free quota. (about 500 views a day)

It used to work locally without a key, but that has changed.

barryhunter avatar Sep 27 '18 13:09 barryhunter

I had the same problem; adding the key seems to have fixed it. Thanks, Barry!

cxw42 avatar Sep 27 '18 13:09 cxw42

Are you loading the version from gokml.net or a local copy?

I was using local copy.

Google have recently changed policies, that the API can't be loaded without a key. I've put a key on gokml.net, but is restricted to the free quota. (about 500 views a day)

How do I start using a key? Should I just download a new HTML version?

egoldobin avatar Sep 27 '18 14:09 egoldobin

You need need to signup and get your own key, and then edit your file to use your new key https://developers.google.com/maps/documentation/javascript/get-api-key

You could create a key WITHOUT any referer restriction (so can use on local urls) - just make sure you don't disclose the key to anyone else!

You shouldn't copy the key from gokml.net as you will be using up the quota, which is already a scarce commodity. (although the API may block even working)

barryhunter avatar Sep 27 '18 14:09 barryhunter

I have signed in to Google Cloud Platform and have obtained the api-key. I have also downloaded the html file (http://gokml.net/maps) also but don't know where to insert the new key in the html code. (I know how to edit html file).

As per Google Maps Platform Documentation

When loading the Maps JavaScript API, substitute YOUR_API_KEY in the code below with the API key you got ...........

Please advise where to add above script code. I couldn't find anything in the html code downloaded.

You could create a key WITHOUT any referer restriction (so can use on local urls)

How do I create a key Without any referrer restriction.

Thanking you in advance.

CuriousJM avatar Sep 29 '18 06:09 CuriousJM

Please ignore my comments sent about 3 hours back. I down loaded http://gokml.net/maps afresh and this time I found the proper script code as shown below;

api

I have replaced api_key (the blurred area) with My_Api_Key and saved the html file on local disk. The GSV is working fine now . Hope I have done the correct thing. And a big thank you for Classy Gmaps. I love it.

CuriousJM avatar Sep 29 '18 09:09 CuriousJM

I have replaced api_key (the blurred area) with My_Api_Key and saved the html file on local disk. The GSV is working fine now . Hope I have done the correct thing. And a big thank you for Classy Gmaps. I love it.

Thank you for that, I've just done the same, can't do without Classy Gmaps, google's new one is hopeless.

ziggzaggy avatar Oct 07 '18 19:10 ziggzaggy

You need need to signup and get your own key, and then edit your file to use your new key https://developers.google.com/maps/documentation/javascript/get-api-key

You could create a key WITHOUT any referer restriction (so can use on local urls) - just make sure you don't disclose the key to anyone else!

You shouldn't copy the key from gokml.net as you will be using up the quota, which is already a scarce commodity. (although the API may block even working)

Thanks a lot. It works as good as before with API key ;-)

egoldobin avatar Oct 10 '18 14:10 egoldobin