vicmora / MMM-GoogleMapsTraffic

A raspberry pi MagicMirror module that displays a map, centered at provided coordinates, with Google Maps Traffic information.
MIT License
88 stars 32 forks source link

Maps not loading #31

Open ravening opened 5 years ago

ravening commented 5 years ago

I have enabled the billing for my google maps account and I am able to view the maps using the styling wizard passing my api key but can't load it in the magic mirror. Is there any way to troubleshoot it.

DavidJacques01 commented 4 years ago

As a guess, have you also "enabled" your Google API key.

eskiiom commented 4 years ago

I don't remember if it is specified on the documentation but this may be because of an incorrect API type I had the same issue with only Maps Embed API enabled, but now I have activated Maps JavaScript API on my google console it worked straight away

gschmall commented 4 years ago

To clarify, you must have ONLY Maps Javascript API enabled for the api key that you're going to use and it has to be tied to a billing account. I had a bunch of different map related api's enabled on my key (from using a diffent map plugin) and this one worked once I disabled all the extraneous api's.

poltrian commented 3 years ago

@gschmall Thanks, that did the trick