[Google Maps API v3] Re: Problem with IE v8 and Marker.getZIndex

2011-02-01 Thread sgiddings
One last little note (gripe) - the documentation really needs to be updated to reflect the rules exposed here ! On Feb 1, 1:27 pm, sgiddings wrote: > Thanks Ben, > > After some more tests, the behaviour in Firefox should be defined as > "undefined". > I have tried assigning by own, arbitrarily de

[Google Maps API v3] Re: Problem with IE v8 and Marker.getZIndex

2011-02-01 Thread sgiddings
Thanks Ben, After some more tests, the behaviour in Firefox should be defined as "undefined". I have tried assigning by own, arbitrarily defined, zindex scheme ... and all works as desired. Thanks for all of the constructive help given. On Feb 1, 1:13 pm, Ben Appleton wrote: > Right; if you wan

Re: [Google Maps API v3] Re: Problem with IE v8 and Marker.getZIndex

2011-02-01 Thread Ben Appleton
Right; if you want to robustly control the placement of your markers you should specify a zIndex for each. On Tue, Feb 1, 2011 at 1:04 PM, sgiddings wrote: > I mention this because, in Firefox, I can access the z-index correctly > through getZIndex and thus place my flag "behind" the poi marker.

[Google Maps API v3] Re: Problem with IE v8 and Marker.getZIndex

2011-02-01 Thread sgiddings
I mention this because, in Firefox, I can access the z-index correctly through getZIndex and thus place my flag "behind" the poi marker. Following your remarks, does this mean that I can create my own "z- index" values, ie starting from 0, without the risk of having markers badly positioned in the

Re: [Google Maps API v3] Re: Problem with IE v8 and Marker.getZIndex

2011-02-01 Thread Ben Appleton
It is intended that you cannot access the final zIndex that has been assigned to the marker. The final zIndex assigned by the API is subject to change as it depends on the underlying implementation. You can access the zIndex that you set, which is undefined in this case. This behavior is consisten

[Google Maps API v3] Re: Problem with IE v8 and Marker.getZIndex

2011-02-01 Thread sgiddings
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 : ... When I cal

[Google Maps API v3] Re: Problem with IE v8 and Marker.getZIndex

2011-02-01 Thread sgiddings
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. Tr

[Google Maps API v3] Re: Problem with IE v8 and Marker.getZIndex

2011-01-31 Thread Rossko
> 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 a