Add fancy NCE
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<agm-map disableDefaultUI="true" id="map" #map [zoom]="zoom" [latitude]="center.lat" [longitude]="center.lng">
|
||||
<agm-marker (markerClick)="openInfoWindow(m.value.vin)" [openInfoWindow]="true"
|
||||
*ngFor="let m of car_markers | keyvalue" [iconUrl]="m.value.iconUrl"
|
||||
[latitude]="m.value.lat" [longitude]="m.value.lng">
|
||||
[latitude]="m.value.lat" [longitude]="m.value.lng" [animation]="(m.value.near_crash_event)?'BOUNCE':''">
|
||||
<agm-info-window style="opacity: 0.5!important;" (infoWindowClose)="closeInfoWindow(m.value.vin)"
|
||||
[isOpen]="isInfoWindowOpen(m.value.vin)" [latitude]="m.value.lat"
|
||||
[longitude]="m.value.lng">
|
||||
@@ -10,6 +10,7 @@
|
||||
<p>Model Type: {{m.value.modelType}}</p>
|
||||
<p>Velocity: {{m.value.velocity}}</p>
|
||||
<p>Timestamp: {{m.value.timestamp}}</p>
|
||||
<p>NCE: {{m.value.near_crash_event}}</p>
|
||||
</agm-info-window>
|
||||
</agm-marker>
|
||||
<agm-marker *ngFor="let m of traffic_light_markers | keyvalue" [iconUrl]="m.value.iconUrl"
|
||||
|
||||
Reference in New Issue
Block a user