Page works on server but not on local disc

I have a page with an API Google Map at  I'd like to be able to edit this page on my local disc, but it won't load.   There is a script in the <HEAD> which includes this code:

If I add "http:" or "https:" before the double-slash, the page will load from local disc, but the Google Map will not appear.

Editing the page is difficult without access from local disc, because I need to upload every change in order to evaluate it.
Who is Participating?
GaryConnect With a Mentor Commented:
How are you loading it from local disk?

or as I suspect
Patrick BogersConnect With a Mentor Datacenter platform engineer LindowsCommented:
What if you open the page locally with e.g. Google Chrome and deverloper tools open?
It should give you some error which might help you further.
ddantesAuthor Commented:
Solved by downloading the Google js and invoking the script on local drive, instead of through a URL.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.