Home › Forums › Backend Issues (wp-admin) › Google maps – MissingKeyMapError › Reply To: Google maps – MissingKeyMapError
For those like me who are late to the party, ACF posted a solution. This worked for me on version 4.4.11 of the free plugin.
Drop this in your functions.php file and replace ‘xxx’ with your API key:
function my_acf_google_map_api( $api ){
$api['key'] = 'xxx';
return $api;
}
add_filter('acf/fields/google_map/api', 'my_acf_google_map_api');
https://www.advancedcustomfields.com/resources/acf-fields-google_map-api/
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.