I am having issues on multiple sites loading the API key for the Google Map widget since $this.parent().is( ‘:visible’ ) returns false for some reasons in sow.google-map.js on line 454
I have tried setting styling for the parent element to the map canvas to force it being visible on load but with no luck.
Think it might be lazy loading or similar effects that delays the visible true flag long enough for the map to load without apiKey and therefor showing the developer map instead.
My solution was to remove the $this.parent().is( ‘:visible’ ) check to make the map work. I get that this is check for not loading maps that are for example on hidden tabs etc. But it returns $this and does not try to load the map again when it is visible so seems more like a bug