logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Dreamweaver General
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 12-31-2016, 11:07 AM   #1
Crumpy1
Crumpy1's Avatar
 
Join Date: Aug 2011
Location: England
Posts: 246
Default Google Maps Plugin Error

Hi All,

I was wondering if anyone can identify why the Google Maps plugin is now displaying the following error

"Oops! Something went wrong.
This page didn't load Google Maps correctly. See the JavaScript console for technical details"

It was working fine on localhost but now it has gone live it is not displaying.

Webpage is here where this is happening.

Any help would be appreciated.

Thank you.
Crumpy1 is offline   Reply With Quote
Old 01-03-2017, 08:09 AM   #2
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

still an issue? ive been away so not much spare time at the moment
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 01-03-2017, 08:11 AM   #3
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

on web console

"Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error" js:34:315

"Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys" util.js:211:33
"Google Maps API warning: SensorNotRequired

https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required"
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 01-03-2017, 08:12 AM   #4
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

looks like an api key issue
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 01-03-2017, 08:17 AM   #5
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

you can get a limited key here https://developers.google.com/maps/d...et-api-key#key
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 01-04-2017, 08:22 PM   #6
Crumpy1
Crumpy1's Avatar
 
Join Date: Aug 2011
Location: England
Posts: 246
Default

Quote:
Originally Posted by edbr View Post
Hi Edbr, Sorry for the late reply, been a bit snowed myself.

Thanks for the API Key link, can you advise where in the code the key needs to be added? The instructions are unclear.

Thanks
Crumpy1 is offline   Reply With Quote
Old 01-05-2017, 12:25 AM   #7
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

no worries thats what holidays are for. been a while since i danced with api keys and sites i used them for i dont have access or copies of.
As ui remember though it is added in a <script> </script> Google will give you the code for that. Fing the place you want on google mapp and click embed this map.
frankly I usually embed google maps as a much simpler method.

I also use as an addition a ( to me anyway) extra that you can add a get directions to form/button which is used quite a bit by my visitors to find my office.
try this for fun. in the form add a starting point ( I suggest Sanur which is a place in Bali)

Code:
            <form action="http://maps.google.com/maps" method="get" target="_blank">
   <label for="saddr">Enter your starting location</label>
   <input type="text" name="saddr" placeholder="example:- Sanur Bali" />
   <input type="hidden" name="daddr" value=" Concord Services
Istana Kuta Galeria 18 1st Floor, JL Patih Jelantik Blok PM-1/18, Denpasar, 80361
   " />
   <input type="submit" value="Get directions" />
</form>
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 01-05-2017, 12:32 AM   #8
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

Just for the hell of it i searched google maps for my office , and clicked share/embed map and it gave me the following code, so no api key required

Code:
https://www.google.com/maps/place/Concord+Services+Bali/@-8.710895,115.179907,15z/data=!4m5!3m4!1s0x0:0x65f46cdde8ad1cb6!8m2!3d-8.710895!4d115.179907
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:11 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com