Hi Frank-
Did you trying assigning an event listener? It should be something like:
marker.addEventListener(MapMouseEvent.CLICK, function(e:Event):void {
mgr.removeMarker(marker);
});
Make sure that you achieve function closure on the marker variable, however:
http://code.google.com/apis/maps/documentation/flash/events.html#Event_Closures
- pamela
2008/9/28 frank <[EMAIL PROTECTED]>:
>
> thank you,pamela
> I can use removeMarker(marker:Marker) to remove Marker,but I cann't
> get the mark that i click it。
>
> what can i do?
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---