具有多个注释的 Mapkit
我有一张显示多个注释的地图。 我想模仿“照片”内置应用程序(iOS 4)上“位置”选项卡的行为,其中当用户更改缩放级别时,注释会自动连接在一起或分开。
我该怎么做?
谢谢!
I have a map displaying multiple annotations.
I'd like to mimic the behavior of the Places tab on the Photos built-in app (iOS 4), where the annotations are automatically joined together or splited apart as the user changes the zoom level.
How do I do that?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
照片应用程序的“地点”功能中使用的特定集群功能目前尚未向开发人员公开。如果您目前正在寻找一个神奇的库、示例代码或类似的东西来执行此操作,那么您就不走运了。
如果您对 MapKit 和集群技术非常熟悉,那么您可以致力于推出自己的解决方案或为实现这一目标做出贡献。
需要注意的一些事项:
iPhone Map Kit 集群精确点
http://googlegeodevelopers.blogspot.com/2009/ 04/markerclusterer-solution-to-too-many.html
The specific clustering functionality that is used in the 'Places' feature of The Photos app is not exposed to developers currently. If your are looking for a magic library, sample code or the like to do this currently you are out of luck.
If you are very comfortable with MapKit and clustering techniques in general you could work on rolling your own solution or contributing to a public effort to achieve this.
Some things to look at:
iPhone Map Kit cluster pinpoints
http://googlegeodevelopers.blogspot.com/2009/04/markerclusterer-solution-to-too-many.html