Hi,
I know that support for external plugins is not included in the assistance but I need to know if I can fix by removing a javascript file to enfold.
I have a plugin that allows the customer to add resellers on the google map. Since the last update enfold this plugin does not work anymore.
If 2 copies of Google Maps API Javascript are loaded in, it leads to errors and therefore, the inability to add points to the map.
Is there a way for me to turn off these google api to enfold?
Hey Europroject,
Try to checkout this post: https://kriesi.at/support/topic/google-maps-api-multiple-times-on-the-page/#post-251997
Best regards,
Nikko
I added this code but nothing change.
How can I fix it without delete all the map I have created in 3 years?
There’s no solution to quit this google api in all the pages?
This is the solution
add_filter(‘avf_load_google_map_api’, ‘disable_google_map_api’, 10, 1);
function disable_google_map_api($load_google_map_api) {
$load_google_map_api = false;
return $load_google_map_api;
}
Works
Hi,
Glad that you have found a solution and thanks for sharing it :)
Cheers!
Nikko