Hi,

I really would like to put the GMap Block into a collapsible block. I'm using Collapsiblock 6.x-1.x-dev together with Javascript tools 6.x-1.0 and GMap 6.x-1.1-rc1.

Everything looks ok, until I'm setting the block collapse behavior to 'Collapsible, collapsed all the time' (that's what I want) or to 'Collapsible, collapsed by default'. Then, the map is showing only partially, with the marker out of focus (see attached picture).

Just for checking, if I set it to 'Collapsible, expanded by default', then the map is showing without any problem, well centered with the marker in its middle.

I really don't know what to do to get it right. Is this about javascript (which I'm not really handling)? Has this more to do with the Gmap module ? (I have created an other issue here: #781660). Has anyone succeed to display the Gmap Block into a collapsed-collapsible block, in a way or other?

Thanks very much for help!
.sahaj

Comments

dan_metille’s picture

Status: Active » Closed (fixed)

Ok, I think it is better to learn how to work with jquery inside drupal ;)

ptam’s picture

Same issue is with my views.
I am trying to display with show/hide option for gmap.
But after click in Show gmap not loaded fully.