Hi -

I tried search this group for the answer but can't seem to find one so
I hope you guys can help.  I'm adding a directions polyline to the map
like this:

var directionsLine:IPolyline = dir.createPolyline();
var paneManager:IPaneManager =  map.getPaneManager();
var myPane:IPane = paneManager.createPane(paneManager.paneCount);

myPane.addOverlay(directionsLine);
currentPaneID = myPane.id;

I'm doing it this way because it seemed like the best way to be able
to programatically add then clear directions and polylines off the map
without redrawing everything else.  This works out just fine.

The issue is that the polyline can and does usually appear on top of
everything else already on the map including any markers or
InfoWindows.  I totally understand why, its simply adding a new
overlay, but I'm wondering how I can determine the map overlay
position and place the new polyline directly above the map and shift
everything else up a level so that the polyline is simply resting
directly on top of the map as it does usually on a google map.

Anyone know how to do this or know of a better way?  I'm sure there
is!!

Thanks so much for your help.
K_C

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

Reply via email to