Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试根据用户位置进行查询。问题是我只能查询第一个位置结果,以纬度/经度结果作为查询参数。如何确保获得用户位置的最佳结果,然后执行 sqlite 查询?
提前致谢!
当用户点击提交按钮时,查询位置,然后在触发请求之前将数据添加到请求中。您可以尝试在几秒钟内预测用户的位置,但这并不准确。