My Google Maps element does not work. What should I do?
Google has changed their Google map policies and now Google map APIs require an API key for new domains as of 22nd of June. Please refer to the following announcement: Google Geo Developers.
In order to resolve the issue with Google Map, please follow the next steps:
- First of all, you will need to create an API key as per instructions here: Get api key.
- After creating, please locate the cargo.php file in Plugin Editor and replace the following:
wp_enqueue_script( 'gmaps_api', 'https://maps.googleapis.com/maps/api/js?v=&sensor=false' );
wp_enqueue_script( 'gmaps_api', 'https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY' );
Please change the YOUR_API_KEY with newly created API key and let us know if this resolves the issue.