I was scoping gyms today on a couple of my accounts and I noticed that the time it took to spawn stops and gyms was different on the two accounts, every time. my fresher, less botted and sniped account would display almost instantly, while the other account would take upwards of 30 seconds to a minute. this is probably old news, but ill go into my theory.
so my theory is that niantic places this lag in an effort to determine cheating. I am not sure behind the exact algorithm, if they even apply it to botting or if they just look for consistent erraticism because it would just be a clear map hack. if anything, it only contributes to their cheating flag, but is not enough reason to ban. it would be a good starting point for them to analyze further activity because snipers are generally not subtle with their movements. normally a gps will rubberband while staying at that location for a brief period of time or just move around erratically around where it actually is, from my experience with a shitty gps on my phone pre fun mode.
this goes on to be expanded into teleporting back, once the engage with the pokemon has occurred. you are sitting mostly idle for this delay waiting for the spawn, and then almost as soon as you engage your gps suddenly rubberbands back, on a consistent basis. quite the flag in my opinion and it sounds like extremely simple to code. again, not a primary reason to ban someone because maybe, just maybe, their gps actually does rubberband back only when they engage.
it is just my two cents. something to consider so your ban prevention method is as effective as possible.