New pi won't display google maps...


#1

I just installed a new Flightaware Raspberry Pi at my lake house. All is tracking fine but I am getting an error while attempting to display the google map. I can get the right side of the screen displaying the flight data just fine but on the left side of the webpage the map flashes (giving a short glimpse of a map) and then pops up the following error:

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

This is happening from a number of browsers and computers attempting to view the webpage…
Anybody else having this problem??


#2

I posted this question a little too fast.
I found the fix but rather than delete my question I thought I’d answer it in the event someone else is looking for this fix.

Recently Google maps has required a key to use their site. Getting a key is rather painless (took me about 2 minutes) just go here: https://developers.google.com/maps/documentation/javascript/get-api-key

once you have your key edit the following file:
sudo nano /usr/share/dump1090/public_html/gmap.html

and add the following line the :

Note: the xxxx’s are where you place your new key…

good luck,
-Capt Dave-