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.
我想问你,当用户点击屏幕时添加图钉是否是好的解决方案?我做到了,当用户点击屏幕时,添加了带有地址的图钉。这是另一种解决方案,如何在不点击的情况下在某个位置添加图钉?谢谢。
另一种解决方案可能是使用 Hold 事件而不是点击事件。这样,您将确定用户想要在他们点击的地方做某事。
您可以去那里查看有关地图控件的更多信息。
希望有帮助!