Dear Ross, Mike's page says "You can't change the order of the markers afterwards. The Function only gets evaluated when the marker is addOverlay()ed." So I assumed I can't Yes, that's exactly what I'm trying to do. But I have no idea how! Or rather, I have only a vague idea. I'm sorry my questions are so poorly written!
If you (or any other kind soul) can look at http://lovebunnies.luckypro.biz/01_stuff/roman_holiday/romanholidaymap.html, you'll see I currently have markers which: 1. have different icons, set from an associative array of gicons. There is no standard marker. 2. Change to differently colored versions of their gicons, taken from an array of ricons, when you roll over their sidebar entry. The system works by using the same icontype tag in my XML to designate a gicon and an ricon. I store both a "marker.OriginalImage = gicons [icontype].image" and a "marker.RollImage = ricons[icontype].image" in my marker function and switch between the two icons very easily. But of course some markers are sometimes partially covered, so when the covered marker's switch takes place, it's hard to tell. So OK, here's the thing. I would really prefer not to "create a single high z-index marker." I would like to somehow create a new marker, in a new "high z-index" overlay, that is an exact copy of any given gmarker (same lat'lng point, same ricon), and add that new overlay when I roll over a gmarker's line in the sidebar. I'm assuming the new "high z-index ricon overlay" will then cover all markers. I also assume I can remove it on mouseout. That way, it will look like the marker has moved to the front, then back into its normal position. But the new, high z-index marker should use the SAME RICON as the one it's mimicking. I'd really prefer not to have one generic icon for the high z-index marker/overlay. http://lovebunnies.luckypro.biz/01_stuff/roman_holiday/romanholidaymaproll.html On Feb 23, 12:44 pm, Rossko <[email protected]> wrote: > Or alternatively, create a single high z-index marker to superimpose > on the existing markers, which you can move around and show/hide as > desired --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
