diff --git a/src/app/dashboard/map.component.html b/src/app/dashboard/map.component.html index 646009f..04d7d73 100644 --- a/src/app/dashboard/map.component.html +++ b/src/app/dashboard/map.component.html @@ -22,7 +22,16 @@ [zoom]="zoom" [scaleControl]="true" (idle)="viewBoundsChanged($event)"> - + + + + {{m.label}} + + diff --git a/src/app/dashboard/map.component.ts b/src/app/dashboard/map.component.ts index 71b7274..5acc512 100644 --- a/src/app/dashboard/map.component.ts +++ b/src/app/dashboard/map.component.ts @@ -15,6 +15,25 @@ export class MapComponent implements OnInit { dataReceived: string = 'yes'; + markers = [ + { + lat: 54.0466, + lng: -2.8007, + label: 'A', + + }, + { + lat: 54.0453, + lng: -2.83, + label: 'B' + }, + { + lat: 54.0563, + lng: -2.8279, + label: 'C' + } + ] + map: any; constructor(