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.
我正在创建用户导航应用程序,但是更改用户位置时出现问题。当用户更改药水时,我每次都必须创建从起点到终点的路径,但我不想要这个。实际上我想要像谷歌导航应用程序这样的输出作为人移动。对象在路径上移动。提前致谢 。
所以更好的选择是,如果在地图上长按点击地图,那么当前标记会消失,新标记会创建在您在地图上触摸的位置?