【发布时间】:2018-04-01 07:13:18
【问题描述】:
我正在构建一个车辆跟踪应用程序,我正在使用 agm-map-marker 来显示图像中像这样定位的车辆,
而 Livetracking.component.html 代码是,
<agm-map #gm [latitude]="lat" [longitude]="lng" [(zoom)]="zoom" [mapTypeControl]="true">
<agm-marker class="mapMarker" *ngFor="let device of devices;"
[latitude]="device.latitude" [longitude]="device.longitude"
(markerClick)="gm.lastOpen?.close(); gm.lastOpen = infoWindow;mapMarkerInfo(m);">
</agm-marker>
</agm-map>
这里我需要将标记替换为箭头,就像在这张图片中一样,
我需要将标记更改为箭头,就像第二张图片中一样。请帮助我达到预期的效果..
【问题讨论】:
标签: angular google-maps google-maps-api-3 google-maps-markers arrows