React Native(按照以下方向跟踪用户(Google 地图))
反应本机; 我们如何监控谷歌地图跟踪实际上用户驱动器是否在线,例如,
如果我得到从位置A到位置B的方向,那么我们如何检查用户驱动器是否在线。
基本上我无法监控它,
例如
实际上我希望它在本机反应中, 所以任何人帮助我我们如何实现它或任何第三方库, 提前致谢。
React Native;
How we can Monitor The google map Tracking So Actually User drive on line or not, E.g.
if i got the direction from Location A to Location B , So how we can check that User Drive on Line or not.
Basically i can't Monitor it,
E.g
Actually i want it in react native,
So anyOne Help me How we can achieve it or any 3rd party Library,
Thanks in Advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这个方法 isPointNearLine 解决了我的问题。
代码片段。
它将返回 true 和 false。
还有另一种方法是我们可以使用 @turf/boolean-point-on-line
代码片段,
如果点在线,它也会返回 True 和 false。
This Method isPointNearLine is Solve my problem.
Code Snippet.
it will return true and false.
There is another approach is we can user @turf/boolean-point-on-line
Code Snippet
it will also return True and false if Points lies on line.