On May 18, 11:35 pm, jason <[email protected]> wrote:
> That link was simply to demonstrate how the labels appear to be at the
> same zIndex given the suggested changes. The only number that should
> be shown is 6. 4 and 5 are for the two other almost-hidden icons.



As I said above: The zIndexProcess option should work together with
LabeledMarker when it is used. When zIndexProcess is not used, it
certainly cannot do anything.

Hint:
The function for changing the z-Index order of the markers can be used
quite flexible. It is of course not neccessary to use
GOverlay.getZIndex() to return a number.

The intention of this method was that it should be possible to invert
the default north - south order of the markers. But the function can
also be used completely different.


If - for example - a later created marker should always get a higher
order than a previously created marker then you can do the following
for all your markers:


var index = 0; // must be global

// Increment index when creating a marker
 index++;
// Create markers using zIndexProcess
var opts = { zIndexProcess: highestOrder };


function highestOrder() {

 return index;
}

Have a look at Mikes examples how zIndexProcess can be used further

http://econym.org.uk/gmap/zindex.htm

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