Ok I'm kind of with you on this. I'm pretty new to this tool so can you give me an example of what you mean here? Or do you think that I should approach this in a different direction? What I also have on my screen is a list of all the marker items so if you click on that item it opens the related markers info window. Maybe add a check box there? The idea is to start working on a routing tool of some type.
On Jan 28, 2:22 am, Mike Williams <[email protected]> wrote: > Yes. > > One thing to be aware of is that the code you launch from the onclick of > your checkbox executes in global context, so it doesn't have access to > the local copy of the marker reference. What you have to do is save a > global copy of the marker reference whenever the infowindow opens. Since > there is only one infowindow, you know that global variable will be the > one that's associated with the open infowindow. > > -- > Mike Williams -- 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.
