I’m probably on the margins of your GoogleMaps widget applications from the SiteOrigin Widget Bundle, but maybe you can help me anyway.
Specifically, I use 3 Google Maps within a row of tabs. In each tab there is a map, among other contents. The first map is also displayed wonderfully, but as soon as I change the tab I see a (almost) empty Google Map Canvas.
Of course, I have already looked around the web and found a lot about Google Maps in Tabs. As a rule, it is recommended to simply reinitialize the map object, e. g. to re-initialize the map object. with google.maps.event.trigger(map, ‘resize’);. This doesn’t work with your plugin, because the variables are not available to me – or are they?
A globally available variable is sowb, and I docked the function sowb.SiteOriginGoogleMap(jQuery).initMaps(); to it when changing tabs. Surprisingly, this also fulfils the purpose, but not very reliable – that is: sometimes it works, sometimes it doesn’t – and often extremely slowly in the range of up to 10 seconds.
I sincerely hope that you have an idea and can help me. Of course i could hook you up with admin access to the site in question.
I look forward to hearing from you. Thank you very much and best wishes,