I was interested in your solution and therefore started debugging.
There are a few mistakes in your code:
1. You declared "var markers = [];" which is good but later on you reuse the
variable name as "var markers =
xml.documentElement.getElementsByTagName("marker");" and that's wrong.
2. You never add elements to initial marker array.See attachment for the details. -- vriendelijke groeten, Ronny Aerts 2009/12/23 Ahunter61 <[email protected]> > > > OK I am getting close, I have managed to get a sidebar using code from > Pamela's example > http://code.google.com/apis/maps/articles/phpsqlsearch_v3.html > Creating a store locator. > the page I am working on is www.conneroutdoors.com/alabama.html but I > can't seem to get the click function to open the infowindow to work > from the sidebar > Please bear with me I know this is probably simple but I am no coder. > Just trying to learn as I go Thanks for any help, Pete > > -- > > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-maps-js-api-v3%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.Title: Alabama Hunting Guides and Outfitters
| Africa { all countries } United States Canada Argentina Mexico New Zealand |
Alabama Hunting Guides & Outfitters |
|
|
|
|
