Support GMarker z-index non-documented feature
Brought to you by:
lenulus
Hello,
The attached patch implements the GMarker z-index feature described here: <http://econym.googlepages.com/zindex.htm>. I don't really expect this to be merge since relying on undocumented features may not be a good idea. Still, z-index manipulation is definitely useful if you do serious stuff with Google Maps API and the patch may interest other people.
About the patch:
I tried to make the listener receive the target GMarker instance but failed to convert the callback JSObject back to a GMarker. Maybe I am not doing it the right way. Or, the supplied object is not a valid GMarker (my guess is it is incompletely constructed). All ideas are welcome.
GMarker z-index handling