How to add Google Maps api key

Google map has updated it's terms, all new site must generate an api key:

You can find more info here about the change  http://googlegeodevelopers.blogspot.it/2016/06/building-for-scale-updates-to-google.html and with instructions on how to get an api key. Once you've got your api key, open file theme-setup.php into the framework/functions folder of the theme and locate this line:

wp_enqueue_script( 'google-src', 'http://maps.google.com/maps/api/js?sensor=true' );

Replace it with

wp_enqueue_script( 'google-src', 'http://maps.google.com/maps/api/js?libraries=places&language=en&key=your_key' );

Modify the url and replace your_key with your api key.

For the backend map in the Atlas theme:

Open file framework/metaboxes/acf-location-field-master/location-v4.php locate line 94, replace the url with your own key, example:

https://maps.googleapis.com/maps/api/js?sensor=false&key=your_key

For the backend map in the Autodealer theme:

Open file framework/addons/acf-location-field-master/location-v4.php  locate line 94, replace the url with your own key, example:

https://maps.googleapis.com/maps/api/js?sensor=false&key=your_key