2个注释之间的距离
你好..
我正在寻找有关 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无法将此功能添加到 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.