openwisp / OpenWISP-Manager

The OpenWISP Manager is a RoR web GUI for configuring OpenWISP firmware-based access points.
36 stars 33 forks source link

Gmaps API key #37

Open joseignaciomota opened 7 years ago

joseignaciomota commented 7 years ago

I have configured my GMaps API key from here (https://developers.google.com/maps/documentation/javascript/get-api-key) in my gmaps_api_key.yml file, for development,test and production. (Im using only 1 key since I only intend to access OWM from localhost) After doing this, I keep getting Google Maps API error: MissingKeyMapError at OpenWisp Manager Web interface, and also get Google Maps API warning: NoApiKeys and Google Maps API warning: SensorNotRequired on the JavaScript Console.

I'm wondering if there's been any changes lately on the GMaps API that makes it not work properly? or maybe I did something wrong? Thanks in advance

joseignaciomota commented 7 years ago

I've been searching the owm database. At the "configurations" table I can see the value of gmaps_api_key, which wasn't the same as the one I specified at the configurations.yml file. So I made a backup of that string, and changed its value so it matched my configurations.yml file. Still no luck with it. Hope someone can help.