The effect you're seeing is almost certainly just the device GPS and location services being inaccurate.(您看到的效果几乎肯定是设备GPS和定位服务不准确。)
It's very common, especially indoors.(这很常见,尤其是在室内。)
If you don't want to record these inaccurate readings, you will have to detect them on your own, or find a library that can smooth out the series of readings.(如果您不想记录这些不准确的读数,则必须自己检测它们,或者找到一个可以使一系列读数平滑的库。) As far as I know, there is no API provided by Google Maps that will do this for you.(据我所知,Google Maps没有提供任何API可以帮您做到这一点。) 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…