Google Maps API for Flash - clickable Polyline
I have added event开发者_StackOverflow社区 listener that is fired each time a polyline is clicked. How can I identify the polyline that was clicked? Is it possible?
Thanks
it is possible. Here is the code:
public function cutToEnd(event:MapMouseEvent):void
{
var clickedPolyline:Polyline = event.feature as Polyline;
}
精彩评论