I am having the same issue as guy here http://drupal.org/node/781660 when using collapsed block for gmap.

Comments

Marko B’s picture

Version: 6.x-1.1-rc1 » 6.x-1.x-dev
Priority: Normal » Major

Installed also DEV version and problem is still present. I see some posts about it around 2008-2010 but none of them have any def. answers.

http://drupal.org/node/352247
http://groups.drupal.org/node/65883
http://drupal.org/node/212483

I tried also that collapsehack and still no luck. I am missing something or what?

Marko B’s picture

There is much info about similar/core of this problem here http://drupal.org/node/352247#comment-5290536

Marko B’s picture

wxman’s picture

deepM. I don't mean to sound ignorant, but how did you implement the fix in #3?

The only place I have a map in a collapsible box is on my custom user profile form. I dug around the code and I can't find a #block-gmap_location-0 DIV. Also, did you just make a custom JS and added the two jquery lines?
Thanks for the help.

timonweb’s picture

I have the same problem, but your fix doesn't work for me. There must be another workaround.

Marko B’s picture

Yes i added this lines in script.js which is added in theme and also make sure this script is loaded with jquery document ready function for example (search it up).

You need to put your own #gmap name of the div in this functions.

Louis Bob’s picture

Hi deepM, I have followed your solution, unfortunately it is not working for me...