摘要:
1){routeTask.solve(routeParams);}}private function solveCompleteHandler(event:RouteEvent):void{var routeResult:RouteResult = event.routeSolveResult.routeResults[0];lastRoute = routeResult.route;}]]>在这个例子中,每次在地图上点击会添加一个停靠点或路障点,每次点击后都会调用RouteTask进行计算,计算的条件就是前面在地图上点击添加的停靠点及路障点;当然,由于设置了concurrency属性, 阅读全文