2个注释之间的距离

发布于 2024-10-08 21:26:30 字数 192 浏览 0 评论 0原文

你好..

我正在寻找有关 iphone 中的 Mapkit 的帮助。

我在地图上标记了 5 个注释,我需要做的是..我想用两个手指,每个手指都在注释上,并且可以在地图上看到这两个注释之间的距离。

Mapkit 上已经可以使用捏合来缩放...所以我可以将此功能添加到 2 指中吗 触碰???

是否可以???

HI..

m looking for some help regarding the Mapkit in iphone.

i've 5 annotations marked on my map,What i need to do is..i want to use two fingers,each on the annotation and the distance between these 2 annotations can be seen on map.

pinch is already available on the mapkit to zoom...so could i add this feature to the 2 finger
touch???

Is it possible???

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

把回忆走一遍 2024-10-15 21:26:30

您无法将此功能添加到 2 指触摸中。相反,您创建一个按钮,并在按钮操作中允许用户选择两个注释,然后通过获取注释的纬度和经度值来计算距离。

You can't add this feature to the 2 finger touch. Instead you create a button, and in the button action allow the user to select two annotations and then calculate the distance by getting the latitude and longitude value of the annotation.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文