I have a form which allows users to supply their information and have them show up as a marker on a gmap based on their location. After filling out the form, they are taken to a page showing the map full of markers of the people that have filled in the form. However, what I want is that when the user completes the form, they are taken to the map page, which shows everyone's markers... but I want THEIR marker to be expanded, with the popup infowindow already visible.
The map is built with a View which selects all the users and displays them on a gmap (I use a gmap macro in the view to draw the map the way I need it). Now, I could quite easily call this view with an argument to determine which marker should be selected (popped up). So, I would take the argument, load the node, grab it's location coordinates, centre in on those and zoom the map to an appropriate level. The question is, how can I make the marker have its popup bubble popped up by default? Would this be a JavaScript thing? Or would I need to alter the way the map gets built by theming the View output and using the the gmap.module api? I can't see anything in there that allows you to specify if a marker is expanded or not. Help greatly appreciated...
Thanks, Tom
Comments
Comment #1
johnvClosing this very old issue. Please reopen if it is still valid.