Google Maps API Conflict and Loading Time Issue with TranslatePress
-
Hello,
I’m experiencing a conflict between TranslatePress and the Google Maps API on my website. When TranslatePress is active, I get the following errors in the console:
Uncaught ReferenceError: google is not defined
jQuery.Deferred exception: google is not defined
window.google not found after 10 seconds
These errors prevent Google Maps from loading correctly on my site. Addresses don’t autofill, and occasionally, the map stays blank. After troubleshooting, I confirmed that TranslatePress is the source of the conflict.
Additionally, I’ve noticed that TranslatePress significantly increases the page loading time, adding around 1 to 1.5 seconds per page load.
I’d appreciate any guidance on how to resolve the Google Maps API conflict and if there are any optimizations available to reduce the plugin’s impact on loading times.
Thank you!
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.