Google Maps in Cart

Chad B. shared this question 20 days ago
Answered

On our WordPress site (jumpingjacksevents.com), the InflatableOffice plugin loads the Google Maps JavaScript API (with the drawing library) on every page because the setup-location map is embedded in the cart markup site-wide. That adds roughly a second of script loading to every page, even though the map is only used inside the cart. Could you load the Maps API only when the setup map is opened, or add a setting to turn the setup map off?

Comments (4)

photo
1

Web team is taking a look

photo
1

Good news — the issue you reported has been resolved. It may take up to 24 hours for the fix to appear in your account. Please let us know if you have any questions.

photo
1

What was done? It seems it's still loading on every page and I don't see an on/off switch in the plugin.

photo
1

From dev: The fix is completed, but the hotfix update hasn’t been released yet, so your site still has the old behavior. Once released, Google Maps will load only when the measurement map is opened. No on/off switch is needed

photo
1

Thanks!!!

photo
Leave a Comment
 
Attach a file
You can't vote. Please authorize!