Latest 0.4.0
Homepage https://github.com/hulab/ClusterKit
License MIT
Platforms ios 7.0, requires ARC
Authors


CI Status


Version


License


Platform


Carthage


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
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.

Latest podspec

{
    "name": "ClusterKit",
    "version": "0.4.0",
    "summary": "ClusterKit is a map clustering framework targeting MapKit, Google Maps, Mapbox and YandexMapKit.",
    "description": "ClusterKit is an efficient clustering framework with the following features:n- Native supports of MapKit, GoogleMaps, Mapbox and YandexMapKit.n- Comes with 2 clustering algorithms, a Grid Based Algorithm and a Non Hierarchical Distance Based Algorithm. Other algorithms can easily be integrated.n- Annotations are stored in a QuadTree for efficient region queries.n- Cluster center can be switched to Centroid, Nearest Centroid, Bottom.n- Handles pin selection as well as drag and dropping.n- Written in Objective-C with full Swift interop support.",
    "homepage": "https://github.com/hulab/ClusterKit",
    "license": "MIT",
    "authors": {
        "Hulab": "[email protected]"
    },
    "source": {
        "git": "https://github.com/hulab/ClusterKit.git",
        "tag": "0.4.0"
    },
    "social_media_url": "https://twitter.com/mapstr_app",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "default_subspecs": "Core",
    "testspecs": [
        {
            "name": "Tests",
            "test_type": "unit",
            "source_files": "Tests/*.{h,m}"
        }
    ],
    "subspecs": [
        {
            "name": "Core",
            "frameworks": "MapKit",
            "source_files": [
                "ClusterKit/ClusterKit.h",
                "ClusterKit/Core/**/*.{h,m}"
            ]
        },
        {
            "name": "MapKit",
            "dependencies": {
                "ClusterKit/Core": []
            },
            "source_files": "ClusterKit/MapKit"
        },
        {
            "name": "Mapbox",
            "platforms": {
                "ios": "9.0"
            },
            "dependencies": {
                "ClusterKit/Core": [],
                "Mapbox-iOS-SDK": [
                    "~> 4.6"
                ]
            },
            "source_files": "ClusterKit/Mapbox"
        }
    ]
}

Pin It on Pinterest

Share This