GMap map and Tabs display conflict in Drupal -


I use the Tabs and CCK FieldGup Tabs module to node Map of GMap CCK location When I have already maped the GMAP location in one of the other node tabs (tab modules) in the one tab, see the map The marker does not center properly . It slides a width on the screen (right) in the past. I need to keep pressing the "right scroll" arrow once on the map controls to properly focus the marker.

I have read all the drupal threads touching this issue and whatever I have found, play with the ResizeMap () function that someone actually knows Have to play with? Where to apply the code to complete the work in a less aggressive way?

Accepted screenshots: Screenshots after going to tab with GMAP map

Once in the acceptable position after scrolling after the marker

< P>

What was the solution to my problem:

  .ui-tabs-hide {left: -15000px; Status: Completed; Top: -15000px; Visibility: hidden; }  

to:

  .ui-tabs-hide {position: absolute; Visibility: hidden; Left: 50%; Top: -15000px; }  

In my theme css Important part is to override the left CSS property of the position: absolute. Works for Firefox, Safari and Google Chrome, not tested in IE because I'm sitting on Mac ;-) If anyone knows better solution for this map display issue, please share.


Comments