Download & Extend

Gmap breaks when placed in a CCK Fieldgroup Tab

Project:CCK Fieldgroup Tabs
Version:6.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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!

AttachmentSize
gmap_cck_tab.png105.27 KB

Comments

#1

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.

#2

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??

#3

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.

#4

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

#5

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.

#6

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

#7

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

#8

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?

#9

Worked fine with the following.

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

#10

Status:active» closed (fixed)

#11

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

nobody click here