bradcornford / Googlmapper

An easy way to integrate Google Maps with Laravel
MIT License
464 stars 142 forks source link

Error Google Maps JavaScript API error: InvalidKeyMapError #376

Open mchisnerman3 opened 3 years ago

mchisnerman3 commented 3 years ago

Hi, can you help me? I put my Key en .env, however the error still Google Maps JavaScript API error: InvalidKeyMapError

Thanks so much!!

bradcornford commented 3 years ago

Hi,

This might be to do with the settings you have placed on the key within your Google account itself. Make sure you've allowed it to be used on the ip/uri that you are using.

ngounthengos commented 2 years ago

I had the same problem. For some reasons, the framework did not use the Google API Key from .env file. Instead, it still keep using the key in the googlemapper config file.

It helps when I change the default key to my API key.