I’m trying to integrate MapBox inside my ionic 2 app, and everything is working fine until I start typing for directions.
I can see that it does a lot of background calls (http) the first few as i’m typing an address works until it some how gets overloaded and crashes with error “Error: More tasks executed then were scheduled.”
But I don’t think this issue has anything to do with mapbox, the way I see it the issue is that if you have some sort of autocompete logic, that makes request every time you type, it either get too many request or that if some request gets cancelled it crashes.
I’ve found a workaround that if I comment this out from the polyfills.js everything works fine : “if(o<0)/throw new Error(“More tasks executed then were scheduled.”)/”