Hi Daniel, I would suggest you to close any open infowindow, before opening a new one. In your functions tohere() and fromhere() just add "GEvent.trigger(gmarkers[i], "click");" right before the new gmarkers[i].openInfo....
BTW: Your XML contains some C++/C# style comments. Not all XML parsers are happy with this ( "//towers to sand" and stuff). And - for the next issue: It is probably a good idea to break down the page to the real problem. So we would be much better able to follow, instead of copying & pasting the various peaces together in order to host & debug them locally. I hope, my guess is fine to you. Thanks for the nice sample, you provided. Sites like yours demonstrate in an excellent manner, what extra value one could gain from an "user enhanced Google Map". Regards daniel schrieb: > Hello, > > I have been looking at this issue for some time now, and cannot seem > to see my mistake. > > When I click on a marker or polygon and click the to/from then I > decide to go from/to to infowindow jumps to a new location. > > To clarify the above: What I mean is, say I click a marker and what > driving directions To that location. But decide I want the directions > >From that location. the infowindow moves. > > the only thing that makes sense is the array objects are different > from the to_htmls and from_htmls. > > But what I cannot seem to understand is that both of these are build > simultaneously from the same gmarkers array. > > Here is a link to the map: http://redhawks.semo.edu/map/test_layout.html > > Thanks > Daniel > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
