fixed mobile spinning on zoom and vulnerabilities

This commit is contained in:
Integral Team 2019-09-11 10:18:51 +07:00
parent dac68e7445
commit 76affc56b5
3 changed files with 175 additions and 161 deletions

View file

@ -62,7 +62,7 @@ export class Router {
useHints: false,
})
.on('routingstart', this.showSpinner)
.on('routesfound routingerror', this.hideSpinner)
.on('routesfound routingerror routeselected routingzoomend', this.hideSpinner)
.on('waypointschanged', this.updateWaypointsCount);
this.router.addTo(map);