Thanks for the input, Pil. Unfortunately, that doesn't quite work. It
appears that all of the labels have the same zIndex. Try this link:

http://spotwalla.com/t.html

I reckon I'll post a bug report and see what happens.

Jason

On May 18, 2:14 am, Pil <[email protected]> wrote:
> I guess  that LabeledMarker was written at a time when the
> zIndexProcess option of markers didn't exist, so this couldn't be
> taken into account and therefore the z-index was set via CSS.
>
> You can turn that off by commenting out the following lines in
> labeledmarker.js
>
> line 125
>
> //  var z = GOverlay.getZIndex(this.latlng_.lat());
>
> line 130
>
> //  this.div_.style.zIndex = z; // in front of the marker
>
> Then zIndexProcess option of the marker you set in your script should
> work as expected.
>
> You can post a bug report here if you wanted that fixed in
> LabeledMarker
>
> http://code.google.com/p/gmaps-utility-library-dev/issues/list
>
> On May 18, 5:29 am, jason <[email protected]> wrote:
>
>
>
> > My maps implementation uses the LabeledMarker class to display a label
> > on each icon on the map - typically a sequence number. Each icon can
> > be of various types and depending upon the type of icon, I'd like to
> > ensure the icon is always on top of adjacent, less important icons.
>
> > Here's a link to a map that doesn't apply a zindex function to control
> > how the icons are displayed:
>
> >http://spotwalla.com/t.html
>
> > This is a link to a page that gives the OK icon (the green marker)
> > precedence over the adjacent icons and displays it on top:
>
> >http://spotwalla.com/t2.html
>
> > The good thing is that green icon appears on top, but the label on the
> > marker disappears. Does anyone know how I can fix this such that both
> > the icon and its label appear on top?
>
> > Thanks.
>
> > Jason
>
> > --
> > 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 
> > athttp://groups.google.com/group/google-maps-api?hl=en.
>
> --
> 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 
> athttp://groups.google.com/group/google-maps-api?hl=en.

-- 
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