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.

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.

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 Collapsiblock module? 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 ;)

Marko B’s picture

I am having the same problem, can't belive nobody so far has used gmap in collapsed block. Anyway hope somebody knows more on this.