Html5 Geolocation clearWatch() is not responding

亡梦爱人 提交于 2019-12-06 08:06:38

Grrr, stupid me, I focus most on the geolocation calls and forgot to look at the javascript issue. So, the reason why clearWatch() was not responding was: the vars startId and trackId were not declared at top in JS. I put the declaration in the call: var startId = ...., so I adjusted the script and it's ok now!

Feel free to use and/or edit this script as a basis for your project.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!