ZIndex on Clusters
Asked Answered
V

2

3

I am attempting to add custom labels to a map such that the labels are visible on top of the clusters I created using MarkerClusterer. I set the zindex of the labels to 1000. How do I set a zindex on a cluster. I know how to do it with a marker but am not sure how to apply a zindex value to each of my cluster icons. I'd appreciate any help with this.

Thanks,

G

Vinna answered 17/2, 2012 at 15:19 Comment(0)
A
1

Thanks for the hint. Got it to work myself: var pane=this.getPanes().overlayMouseTarget;

Antiphony answered 8/8, 2013 at 12:20 Comment(0)
B
0

You could try to add your custom labels to a map pane that sits above the clusters. See http://code.google.com/apis/maps/documentation/javascript/reference.html#MapPanes

Bickart answered 18/2, 2012 at 5:41 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.