Add driving animation for google maps
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<google-map width="auto" height="100vh"
|
||||
[zoom]="zoom"
|
||||
[center]="center"
|
||||
[options]="options"
|
||||
>
|
||||
</google-map>
|
||||
<button (click)="toggleMarker()">Drive!</button>
|
||||
|
||||
<agm-map id="map" #map [zoom]="zoom" [latitude]="center.lat" [longitude]="center.lng" style="height: 900px; width: 1200px">
|
||||
<agm-marker *ngFor="let m of markers" [iconUrl]="m.iconUrl" [visible]="m.visible" [latitude]="m.lat" [longitude]="m.lng" >
|
||||
</agm-marker>
|
||||
</agm-map>
|
||||
|
||||
Reference in New Issue
Block a user