hulab/ClusterKit
关于
面向 iOS 的地图聚类框架,支持 MapKit、Google Maps 和 Mapbox。
网站与应用开发可以做什么
- Native supports of MapKit, GoogleMaps, Mapbox and YandexMapKit.
- Comes with 2 clustering algorithms, a Grid Based Algorithm and a Non Hierarchical Distance Based Algorithm.
- Annotations are stored in a QuadTree for efficient region queries.
- Cluster center can be switched to Centroid, Nearest Centroid, Bottom.
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
ClusterKit is an elegant and efficiant clustering controller for maps. Its flexible architecture make it very customizable, you can use your own algorithm and even your own map provider.
Features
- Native supports of MapKit, GoogleMaps, Mapbox and YandexMapKit.
- Comes with 2 clustering algorithms, a Grid Based Algorithm and a Non Hierarchical Distance Based Algorithm.
- Annotations are stored in a QuadTree for efficient region queries.
- Cluster center can be switched to Centroid, Nearest Centroid, Bottom.
- Handles pin selection as well as drag and dropping.
- Written in Objective-C with full Swift interop support.
| MapKit | GoogleMaps | Mapbox |
|---|---|---|
![]() |
![]() |
![]() |
Installation & Usage
Please follow the wiki for integration.
If you want to try it, simply run:
pod try ClusterKit
Or clone the repo and run pod install from the Examples directory first.
Provide the Google API Key in the AppDelegate in order to try it with GoogleMaps.
Provide the Mapbox Access Token in the AppDelegate in order to try it with Mapbox.
Provide the Yandex API Key in the AppDelegate in order to try it with YandexMapKit.
Credits
Assets by Hugo des Gayets.
Thanks @petropavel13 for the YandexMapKit integration.
License
ClusterKit is available under the MIT license. See the LICENSE file for more info.
探索相关项目
加载中…


