Frontend can now filter with timespan
This commit is contained in:
14
frontend/src/app/map/map.component.html
Normal file
14
frontend/src/app/map/map.component.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<mgl-map [style]="'mapbox://styles/mapbox/outdoors-v11'">
|
||||
<mgl-geojson-source id="locHistory" [data]="data"></mgl-geojson-source>
|
||||
<mgl-layer
|
||||
id="locHisotryLines"
|
||||
type="line"
|
||||
source="locHistory"
|
||||
[zoom]="3"
|
||||
[paint]="{
|
||||
'line-color': '#ff0000',
|
||||
'line-width': 4
|
||||
}"
|
||||
>
|
||||
</mgl-layer>
|
||||
</mgl-map>
|
||||
Reference in New Issue
Block a user