Give that guy a gold star!
I  suspected it was something to do with the instantiation but my JS
skills are not so finely honed as yours, although I've been coding for
a while object coding is fairly new to me, I've edited the cut-down
example and it looks like it's fine.
I edited my application here http://lakesuk.com/index8stacking.php too
and that looks great.
I really appreciate the contribution of group members on this.
Alan

On Feb 20, 5:59 pm, Esa <[email protected]> wrote:
> I think I found out why the zIndexProcess function never gets called.
>
> var marker = new GMarker(new GLatLng(43.92,-79.1),iconObjects[1],
> {zIndexProcess:importanceOrder});
>
> should be:
>
> var marker = new GMarker(new GLatLng(43.92,-79.1), {icon: iconObjects
> [1], zIndexProcess:importanceOrder});
>
> It's a coincidence that the custom icons appear. Api interprets the
> line as the old style (deprecated) constructor where icon was given as
> second parameter.
>
> I was staring at the code for ten minutes or more and all I found was
> that the function inverseOrder() is defined twice. But noticing that
> mouse cursor doesn't change over the custom markers revealed the
> mistake. The third parameter of the old constructor made the marker
> non-clickable.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to