All Collections
Dynamic Content for Elementor
Features
Dynamic Google Maps - Google Map API Key Integration
Dynamic Google Maps - Google Map API Key Integration
Updated over a week ago

In order to use Dynamic Google Maps widget, you must first register a valid API key. To obtain an API key, please follow Google’s Get an API Key instructions.

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.

ACF Integration (Dynamic Mode)

Dynamic Content for Elementor will let you easily configure ACF to use the same Google Map API set in the main configuration page.
So you will be able to check " Set this API also in ACF Configuration" only if you have ACF plugin activated and DCE will do the work for you.

ACF Integration (Manual Mode)

ACF requires Google Map API to be manually configured as described by the plugin in this documentation page.
Add this code in 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');
Did this answer your question?