You must first register a valid API key to use the Dynamic Google Maps widget. Please follow Google's Get an API Key instructions to get an API key.
The Google Maps field requires the following APIs:
Maps JavaScript API;
Geocoding API;
Places API.
You can then insert your API on our widget settings.
โ
Configuration for Advanced Custom Fields plugin
Dynamic Content for Elementor will let you easily configure ACF to use the same Google Map API set in the main configuration page.
If you check "Set this API also in Advanced Custom Fields Configuration", our plugin will do the work for you.
You can follow this documentation page if you want to set it manually.
Add this code to the functions.php file of your theme child.
Follow the instructions on this page:
โhttps://www.advancedcustomfields.com/resources/google-map/
function my_acf_google_map_api( $api ){
$api['key'] = 'xxx';
return $api;
}
add_filter('acf/fields/google_map/api', 'my_acf_google_map_api');