diff --git a/projects/project-3/frontend/src/app/dashboard/dashboard.component.html b/projects/project-3/frontend/src/app/dashboard/dashboard.component.html index 3f85bf0..4b176ae 100644 --- a/projects/project-3/frontend/src/app/dashboard/dashboard.component.html +++ b/projects/project-3/frontend/src/app/dashboard/dashboard.component.html @@ -1,6 +1,6 @@ - Bike Stations in London + - Bike Stations in London + - - - {{station?.commonName}} - + + + {{station?.commonName}} - -
+ +
-
- -
+
- - diff --git a/projects/project-3/frontend/src/app/service/map.service.ts b/projects/project-3/frontend/src/app/service/map.service.ts index 381aa74..c4ef9da 100644 --- a/projects/project-3/frontend/src/app/service/map.service.ts +++ b/projects/project-3/frontend/src/app/service/map.service.ts @@ -185,9 +185,9 @@ export class MapService { this.legend.onAdd = () => { const div = L.DomUtil.create('div', 'legend'); div.innerHTML += `

trips from/to bike station

`; - div.innerHTML += `rents with ${this.dashBoardBikePoint.commonName} as destination
`; - div.innerHTML += `rents with ${this.dashBoardBikePoint.commonName} as start
`; - div.innerHTML += `rents with ${this.dashBoardBikePoint.commonName} as destination and start`; + div.innerHTML += `inbound to ${this.dashBoardBikePoint.commonName}
`; + div.innerHTML += `outbound from ${this.dashBoardBikePoint.commonName}
`; + div.innerHTML += `in- and outbound traffic line`; return div; }; this.legend.addTo(this.miniMap); diff --git a/projects/project-3/frontend/src/styles.scss b/projects/project-3/frontend/src/styles.scss index e24de31..1a4c807 100644 --- a/projects/project-3/frontend/src/styles.scss +++ b/projects/project-3/frontend/src/styles.scss @@ -16,7 +16,11 @@ body { /* WTF ANGULAR!?!?!?! WHY DO I HAVE TO DO THIS? (see table.component.html@7 and table.component.html@50) */ label.mat-checkbox-layout { - margin: 0 !important; + margin: 0; +} + +#logo { + cursor: pointer; } .legend {