Dear Drupal Players,
I have a problem to view two gmaps in single page. ie; I have one map in block, and i also need to view in page is it possible?
Help me
Advanced Thanks To All

Comments

hyperlogos’s picture

I have the same request, but for 5.x. I did find a google groups thread that talks about how to accomplish this at the javascript level. gmap.module obviously tries to accomplish this but it doesn't quite happen - the second map has no content, if for example I place two gmap macro tags into a page.

hyperlogos’s picture

Oh yeah, and if you have multiple maps, no maps get controls. Seems like somewhere we are not properly keeping track of the maps we have created.

bdragon’s picture

You are giving them different IDs, right?

hyperlogos’s picture

Yes. I didn't at first, but the result with different IDs was identical.

With version 1.51.2.57 I actually get a segmentation fault in apache (probably due to mod_php) when displaying ANY map.

bdragon’s picture

Status: Active » Closed (won't fix)

Drupal 4.7 is deprecated.
This works fine in 5.

hyperlogos’s picture

sounds fine to me, I'm on D5 now anyway :)