From c56451c8d0713668c14d08e5b562cd22698fde43 Mon Sep 17 00:00:00 2001 From: ztimson Date: Mon, 2 Sep 2019 22:38:23 -0400 Subject: [PATCH] Removed log --- src/app/views/map/map.component.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/views/map/map.component.ts b/src/app/views/map/map.component.ts index d9c8d04..d3fd003 100644 --- a/src/app/views/map/map.component.ts +++ b/src/app/views/map/map.component.ts @@ -120,7 +120,6 @@ export class MapComponent implements OnDestroy, OnInit { if (!this.position) this.center({lat: pos.latitude, lng: pos.longitude}); if (this.positionMarker.arrow) this.map.delete(this.positionMarker.arrow); if (this.positionMarker.circle) this.map.delete(this.positionMarker.circle); - console.log(pos.heading / 2); this.positionMarker.arrow = this.map.newMarker({latlng: {lat: pos.latitude, lng: pos.longitude}, noSelect: true, noDelete: true, noDeleteTool: true, icon: 'arrow', rotationAngle: (pos.heading / 2), rotationOrigin: 'center'}); this.positionMarker.circle = this.map.newCircle({latlng: {lat: pos.latitude, lng: pos.longitude}, color: '#2873d8', noSelect: true, noDelete: true, noDeleteTool: true, radius: pos.accuracy, interactive: false}); let ignore = this.syncService.addMyLocation({latlng: {lat: pos.latitude, lng: pos.longitude}, label: this.name, noDeleteTool: true});