Hi,
Thank you very much for your ticket. Please, follows the steps below:
1. Open the “/wp-content/plugins/codepeople-post-map/js/cpm.js” file with the text editor your choice.
2. Go to the snippet of code:
script.src=(( typeof window.location.protocol != ‘undefined’ ) ? window.location.protocol : ‘http:’ )+’//maps.google.com/maps/api/js?sensor=false’+((typeof cpm_language != ‘undefined’ && cpm_language.lng) ? ‘&language=’+cpm_language.lng: ”)+’&callback=cpm_init’;
and modify as follows:
script.src=(( typeof window.location.protocol != ‘undefined’ ) ? window.location.protocol : ‘http:’ )+’//maps.google.com/maps/api/js?callback=cpm_init’+((typeof cpm_language != ‘undefined’ && cpm_language.lng) ? ‘&language=’+cpm_language.lng: ”);
3. In a similar way, open the “/wp-content/plugins/codepeople-post-map/js/cpm.admin.js” file, and replace the snippet of code:
$(‘<script type=”text/javascript” src=”‘+(( typeof window.location.protocol != ‘undefined’ ) ? window.location.protocol : ‘http:’ )+’//maps.google.com/maps/api/js?sensor=false’+((language) ? ‘&language=’+language: ”)+’&callback=cpm_get_latlng”></script>’).appendTo(‘body’);
by:
$(‘<script type=”text/javascript” src=”‘+(( typeof window.location.protocol != ‘undefined’ ) ? window.location.protocol : ‘http:’ )+’//maps.google.com/maps/api/js?callback=cpm_get_latlng’+((language) ? ‘&language=’+language: ”)+'”></script>’).appendTo(‘body’);
4. Finally, clear the browser’s cache after edit the online files.
I’ll publish a plugin update immediately.
Best regards.