When I place a Gmap inside a CCK Fieldgroup Tab the map only partially displays and the rest is grey. See attached screenshot. When the Gmap is on it's own it displays fine. Anyone have any ideas? Thanks!

CommentFileSizeAuthor
gmap_cck_tab.png105.27 KBTheAlienShore

Comments

TheAlienShore’s picture

Interestingly, when I enable Firebug, the rest of the map appears and it looks as it should. There must be some kind of conflict somewhere. I can't figure this one out.

jonteriele’s picture

Same problem here!

After resizing the window viewing the tab / map also results in a correct display of the map... Seems that the map in the tabs won't draw correctly at first...

Still no (ideas for) solutions??

thekayra’s picture

Might be little late but here is the solution I found/followed.

In this thread Simon Maddes suggested the following solution that worked for me.

Ι have solved the problem by changing in drupal-tabs.css or an equivalent css files

.ui-tabs-hide { display: none; }

to

.ui-tabs-hide {
  visibility:hidden;
  position:absolute
}

I preferred to override the css in the theme. This is how for newbies like me who doesn't know too much about theming and its best practices.

Any comments would be more than welcome.

Kayra.

jonteriele’s picture

@ Kayra Great! Tnx 4 the tip! It works for me. I preffered to override the theme also.

thekayra’s picture

Unfortunately, I just realized that the CSS method breaks the tree widget menu that I use in another tab. Started to look for a new solution.

thekayra’s picture

Can't seem to find a new solution at the moment. anybody has any suggestions?

nedjo’s picture

I tested with gmapfield placed on a hidden tab and it worked fine. Possibly this was fixed by a recent change to tabs module?

thekayra’s picture

Unfortunately the problem persists for me. I am using:

CCK Fieldgroup Tabs 6.x-1.x-dev
Tabs 6.x-1.0

Had some problem installing the new dev version of the tabs. the tabs were not visible at all in FF 3.0.

which versions are you using, nedjo?

thekayra’s picture

Worked fine with the following.

CCK Fieldgroup Tabs 6.x-1.0
Tabs 6.x-1.1

nedjo’s picture

Status: Active » Closed (fixed)
giorgosk’s picture

Same thing happens with
tabs "6.x-1.3"
cck fieldgroup tabs "6.x-1.2"
but don't want to open an issue since its really a tabs problem
#637488: Google maps not rendered correctly

workaround for me width and height of the map should not be 100%
if I set the width and height in pixels then no problem appears