How do I go about fixing this using the embed code. See the example of what's happening in the locations module at http://mccraylumber.com/

Once the maps are loaded, hover over the locations button on the left side. None of these maps is centering correctly despite me using the small map embed code from maps.google.com.

Is there another trick to get this centering issue fixed? I'd like to make sure that the maps are showing the location they're supposed to instead of ended up a block or two off from the main target. The link to another page shows everything perfect but it's not displaying properly withing the site.

There was a previous tip about this issue and I simply didn't understand the comments about how to potentially fix it.

This was done using the pop-up module. Views, CCK, and Embed_GMAP modules

Advice is welcome!

Comments

bigbutbald’s picture

I have this exact same problem. I think I've been able to narrow it down to a problem with http://drupal.org/project/views_accordion. When i use another type of view, it works fine, but with the accordion it does not center properly.

Any suggestions?

emcniece’s picture

http://drupal.org/node/981504 is the other thread regarding this issue. No fixes yet, but I wonder if it could be fixed by AJAX loading each map on viewing?