Hi CaptainHudson- You could take the technique of adding the polys to the markers pane directly, which will make them always appear above the GroundOverlays. Try this code: map.getPaneManager().getPaneById(PaneId.PANE_MARKER).addOverlay(new Polygon([new LatLng(40.716216,-74.213393), new LatLng(40.765641,-74.139235)]));
- pamela On Mon, Jan 19, 2009 at 7:03 PM, CaptainHudson <[email protected]> wrote: > > I have a map with many adjacent groundOverlays which appear beneath a > set of corresponding polygons. these are added to the map as > necessary based on the user panning them into view. I would like to > specify the depth of each of these groundOverlays and Polygons as they > are created so as to keep Polygons always on top of all the > groundOverlays. There are a few ways to do this, and I'm looking for > general input there, but more specifically, is there a way specify > groundOverlay or Polygon depth when adding to the map, like: > > myMap.addOverlay(myGroundOverlay, 1200); > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" 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-for-flash?hl=en -~----------~----~----~----~------~----~------~--~---
