Add this function at the top only once

function importanceOrder (marker,b) {
  return GOverlay.getZIndex(marker.getPoint().lat()) +
marker.importance*1000000;
}

Then the code for each marker

var point182 = new GPoint(-87.894223, 42.031772);
----------------------------------------------------------------------------
-----------------------
var marker182 = new
GMarker(point182,{icon:icongreen,zIndexProcess:importanceOrder});
marker182.importance = 1;
----------------------------------------------------------------------------
----------------------- 
var myhtml182 = "LAAF - Lori Arquilla Andersen Foundation <br />Des Plaines,
Il<br><br><img src='http://greyribboncrusade.org/logos/laaf LogoHeader.gif'
width='249' height='95'><br><br><a href='http://www.laafinc.org'
target='_blank'>Click Me!</a>"; 
map.addOverlay(marker182); 
GEvent.addListener(marker182, 'click', function() { 
marker182.openInfoWindowHtml(myhtml182); 
});

Should work.
Ralph   



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