我可以像这样在单个路线中获取航点坐标;
var points = route.getWayPoints(),
lastPoint = points.getLength() - 1;
for (var i = 0; i < route.getPaths().getLength(); i++) {
way = route.getPaths().get(i);
window.seg = segments = way.getSegments();
kor.push(seg);
for (var j = 0; j < segments.length; j++) {
var street = segments[j].getStreet();
moveList += ('Going ' + segments[j].getHumanAction() + (street ? ' to ' + street : '') + ', passing through ' + segments[j].getLength() + ' m.,');
moveList += '</br>'
}
}
我需要在multiRoute中获得活动路由吗?
我只需要其中的所有坐标就不需要方向。