Hi,
so I've seen this question around a bit, but never seen anybody
actually get it working. I think I'm close, but as you can see here:
http://www.xelawho.com/map/zones2.htm
when you select an item from the first select box (a polyline), it
displays the corresponding item from the other box (a polygon), too.
I found this answer from Andrew:
"Don't know of an example, but building two select boxes isn't
difficult: pass into your createMarker() function the relevant flag,
and add the data to one of two variables (instead of everything being
added to select_html as now).
You shouldn't need two handleSelected() functions -- both select lists
can use the same function because each select box passes itself
("this") into the function."
which is what I thought I did (making sel_html and select_html) but
maybe the two variables being discussed here are different ones?
thanks in advance for any tips,
Lucas
--
You received this message because you are subscribed to the Google Groups
"Google Maps API V2" 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.