【问题标题】:Map Clustering with Swift 2使用 Swift 2 进行地图聚类
【发布时间】:2016-10-10 10:36:36
【问题描述】:

我正在寻找 MapKit 中的聚类标记,所以我找到了这个库:FBAnnotationClusteringSwift 这满足了我的需求。

但它适用于 swift 3。 任何人都可以为 swift 2 找到相同的库。

谢谢。

【问题讨论】:

    标签: swift2 mapkit mapkitannotation


    【解决方案1】:

    我不知道你是否发现了其他东西,但这是你的答案:

    如果你在 github 上找到了一些新版本的东西,你只需要在提交部分搜索这个 repo 的以前版本。

    这个 repo 我认为它也可以与 swift 3 和 swift 2 一起使用(使用 pod install) 也许你在尝试从用法中插入他的代码时遇到了问题。

    无论如何this is the link for swift 2.2 如果 pod 安装最终是为 swift 3 使用手动安装,只需将文件拖放到您的项目中,然后使用使用代码来使用 repo。

    如果你不想要 swift 2.2(所以你有 xcode this is the link

    希望对你有帮助。

    【讨论】:

      猜你喜欢
      • 2021-08-25
      • 2015-06-02
      • 1970-01-01
      • 2013-12-10
      • 1970-01-01
      • 2016-06-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多