New dashboard widgets
- Custom time range can now be picked - Map now shows accuracy of latest beat - Presets removed
This commit is contained in:
@@ -1,13 +1,19 @@
|
||||
<mgl-map [style]="'mapbox://styles/mapbox/outdoors-v11'" [zoom]="[10]" [center]="[12.7, 50.8]">
|
||||
<mgl-geojson-source id="locHistory" [data]="data"></mgl-geojson-source>
|
||||
<mgl-map [style]="'mapbox://styles/mapbox/dark-v10'" [zoom]="[15]" [center]="[this.lastLocation[0], this.lastLocation[1]]" *ngIf="showMap">
|
||||
<mgl-geojson-source id="locHistory" [data]="data"></mgl-geojson-source>
|
||||
<mgl-geojson-source id="lastLoc" [data]="lastLocationData"></mgl-geojson-source>
|
||||
<mgl-layer
|
||||
id="locHisotryLines"
|
||||
id="locHistory"
|
||||
type="line"
|
||||
source="locHistory"
|
||||
[paint]="{
|
||||
'line-color': '#ff0000',
|
||||
'line-width': 3
|
||||
}"
|
||||
>
|
||||
</mgl-layer>
|
||||
></mgl-layer>
|
||||
<mgl-layer
|
||||
id="lastLoc"
|
||||
type="circle"
|
||||
source="lastLoc"
|
||||
[paint]="lastLocationPaint"
|
||||
></mgl-layer>
|
||||
</mgl-map>
|
||||
Reference in New Issue
Block a user