gmag11/WifiLocation

Incorrect locating after changing the position of the device

bfaliszek opened this issue · 2 comments

Thanks for sharing the code. It works very well and I have no major problems with it.

I only noticed that after locating ESP32 in a one place and moving it elsewhere (e.g. a dozen kilometers away), for the first 24-48 hours Google API still returns the coordinates of the previous location. I don't know if it's related to the code itself (rather not), or it's Google API's fault.

It may be part of the API body. Try changing "considerIp:" to false and see if your results will change.

I've added @KCerveny suggestion in version 1.2.8 (86bc603). Please @bfaliszek , check if it fixes your issue