After having made deeper investigation, I discover that, when markers
are inserted into the display, they are given a z-index within the
style attribute of the container div.
Here is an example of what is generated within IEv8 by simply creating
a marker and NOT calling setZIndex :

<div style="z-index: 24; position: absolute; filter: alpha(opacity=1);
width: 32px; height: 37px; overflow: hidden; top: -13px; cursor:
pointer; left: 373px" class=gmnoprint title="">...</div>

When I call the method getZIndex, should it not therefore return the
value indicated in the z-index css style ?
Is there a correct means to be able to access the div DOM element to
query for this value within the attributes property ?

On Feb 1, 10:15 am, sgiddings <mr.s.giddi...@gmail.com> wrote:
> For Paulo -
> It is obvious that you have not taken the time to correctly understand
> my post.
> I indicate two aspects - the site is still in DEV, therefore not
> visible, so no demo !
> Secondly, the information given was sufficiently detailed and clear
> permitting Rossko to give a very pertinent reply.
> Try better next time.
> -----------------------------------------------------------------------
> For Rossko,
>
> Thankyou for your helpful reply.
> Indeed I had noticed a number of questions going around about this
> subject, but had not picked up on this aspect.
> You are right, I do not set the zIndex of the poi markers beforehand.
> Indeed I cannot see how this could be possible as, in IE, I would not
> be able to determine the correct starting index.
> Yet again more cross browser dev headaches.
>
> On Jan 31, 9:48 pm, Rossko <ros...@culzean.clara.co.uk> wrote:
>
> > > However, in IE v8, the call to Marker.getZIndex always returns
> > > undefined.
> > > Has anyone else come across this problem?
>
> > It's been mentioned in this group before that it only returns a
> > meaningful value if you have previously defined it using setZIndex.
> > Without the context of seeing your code in action, can't say if that
> > is relevant.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to