the showErro(9 function works when I lunch the #home page, but when the #home is active and I loose the GPS, the showError() function is not called, even after the frequency of 1sec. I think it 's normal because the navigator.geolocation.watchPosition() even can not be fired because the is no GPS, and then, no new position can be detected
Is there a way to solve that issue?
by the way, I thought to have a refresh button, but I realy can not find how to refresh manualy the same page. Is there a simple code for that? I already test a lost of different solution, but nothing helped me.