更新时间:2023-01-04 12:55:08
能否发布getCurrentLocation
的代码,以便我们可以看到它返回的内容.
变量newLocation
未声明.我认为您的意思是currentLocation
在函数中.
Can you post the code for getCurrentLocation
so that we can see what it returns.
The variable newLocation
is undeclared. I think you meant currentLocation
in the function.