Best Premium and Free WordPress Themes › Forums › Construction Field Pro › Remove the Google Map API js files calls (if not used) › Reply To: Remove the Google Map API js files calls (if not used)
November 7, 2024 at 5:20 pm
#112707
Johannes Bucka
Participant
I have solved the problem by deaktivating the follow lines: /*…*/
Construction Field Pro: construction-field-custom.js (assets/js/construction-field-custom.js)
Line 350-352
function at_gmap_loadmap() {
var script = document.createElement(‘script’);
script.type = ‘text/javascript’;
/* script.src = ‘https://maps.googleapis.com/maps/api/js?key=’+construction_field_ajax.gmap_key+’&v=3.exp’ +
‘&signed_in=true&callback=at_gmap_map_initialize’;
document.body.appendChild(script); */
}