开发者

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;
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜