Commit 8086bc6d authored by Ratnadeep Rajendra Kharade's avatar Ratnadeep Rajendra Kharade
Browse files

Fixed issue : Maps not loading.

parent e7709aae
......@@ -478,7 +478,7 @@ export class HirebikePage implements OnInit {
} else {
this.intervalRef = setInterval(() => {
this.sendUsageDataToBackend();
}, 300000);
}, 20000);
}
}, (error) => {
console.log(error);
......@@ -1017,7 +1017,7 @@ export class HirebikePage implements OnInit {
ionViewDidLeave() {
console.log("Route: Ion View Left.")
if (this.mapElement) {
this.mapElement.nativeElement.remove();
//this.mapElement.nativeElement.remove();
}
if (this.intervalRef) {
clearInterval(this.intervalRef);
......
......@@ -297,7 +297,7 @@ export class HomePage implements OnInit, OnDestroy {
ionViewDidLeave(){
if(this.mapElement) {
this.mapElement.nativeElement.remove();
//this.mapElement.nativeElement.remove();
}
// if(this.locationService.liveLocationSubject) {
// this.locationService.liveLocationSubject.unsubscribe();
......
......@@ -353,7 +353,7 @@ export class MyreservationPage implements OnInit {
ionViewDidLeave(){
if(this.mapElement) {
this.mapElement.nativeElement.remove();
//this.mapElement.nativeElement.remove();
}
// if(this.locationService.liveLocationSubject) {
// this.locationService.liveLocationSubject.unsubscribe();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment