Are you using the plugin with just k2, or do you also use it in com_content?
The problem is that we render the map when the page is loaded, but since you use tabs -> when the page is loaded the div that holds the map doesn't actually have height + width, since it is hidden. And that is why the map doesn't initialize as it should.
Here is what we did for another user who had the problem:
Okay, try this:
plugins\content\hotspots\hotspots.php line 206 is this:
right after that line, before the closing " add: var triggered;
jQuery('#responsive-tabs').on('click', 'ul li', function() {
var id = jQuery(this).attr('aria-controls');
if(!triggered && jQuery('#'+id+' #hotspots').length) {
google.maps.event.trigger(hotspots.sandbox.mapObj, 'resize');
triggered = true;
}
})
At the end the code should look something like this. hotspots.startAll();
var triggered;
jQuery('#responsive-tabs').on('click', 'ul li', function() {
var id = jQuery(this).attr('aria-controls');
if(!triggered && jQuery('#'+id+' #hotspots').length) {
google.maps.event.trigger(hotspots.sandbox.mapObj, 'resize');
hotspots.sandbox.setCenter();
triggered = true;
}
})
";
Let me know if this fixes it for you as well.
Regards,
Daniel