Hi - I'm hoping this is relatively easy and I'm just having a mental block day. I'd like to be able to remove the polyline created when someone requests directions to a location. I don't want to simply remove all overlays because there could potentially be a lot of points on the map to add back in. I'd rather just remove the line created.
I've tried setting something like: var directionsLine:Polyline = dir.createPolyline(); then adding it via addOverlay, and trying to then remove it later. But I keep getting coercion errors. Any thoughts from the group would be very much appreciated! Thanks, KC -- 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.
