1

我需要显示带有方向的谷歌地图。我还想用动画改变方向。我参考了以下示例。

Plunker 演示

<ng-map zoom="14" center="37.7699298, -122.4469157" style="height:90%" on-click="logLatLng()">
    <directions draggable="true" panel="directions-panel" travel-mode="{{travelMode}}" waypoints="{{wayPoints}}" origin="{{origin}}" destination="{{destination}}">
    </directions>
</ng-map>

当位置发生变化时,如何为路线添加动画功能?

4

0 回答 0