By milehighlife on
So, I can create a Gmap of nodes with addresses in Views all plotted on a Google map. I also have a Views Attachment which lists the same nodes with additional information (Phone, email, etc.). How can I click on a node item in the Attachment listing and have the corresponding node info bubble popup on the Gmap? Has anyone figured this out?
Comments
I am doing the same thing
I am doing the same thing tonight and have the same question. I am using Firebug and the Web Developer Addon for Firefox to find the location of the marker.
~kyle
Gmap view with Attachment
Kyle,
Were you able to find a solution?
-Jeff
Not yet. I will not be able
Not yet.
I will not be able to work on it til later tonight.
I will post a solution if I find one.
~kyle
Gmap + node listing
Kyle,
Just to clarify, you are using Gmap, Location, and Views modules (Mapadelic)? I've also investigated Google Map Tools module but it appears less mature.
Best of luck on your solution, I look forward to hear of your success.
Jeff
Gmap view with attachment list
Kyle,
Just curious if you were ever able to create a solution for this?
Thanks.
I am also...
...curious if anybody has found a solution for this?
Activate info bubble in Views Gmap attachment from parent view
I still have not found a solution but will keep digging. Maybe Kyle has discovered some success?
I'm encountering this issue
I'm encountering this issue now.
I'm using " GEvent.trigger(Drupal.settings.gmap.auto1map.markers[i].marker, "click");" to trigger the popup for the marker, which goes by the indexed order of the nodes displayed in the view. Of course, for the attachment (in my case, just one node that is also in the main view), the index is always '1' (or '0'?), which is obviously not the correct index for the actual full list.
Right now I'm trying to get a very hack js workaround to work, which matches the nid field in the main view and returns its index, then uses that index number as the '[i]' in the attachment trigger. I know there's got to be a better way!