JClusterSpederifier

Additional

Language
Java
Version
1.0.2 (Oct 13, 2018)
Created
Oct 13, 2018
Updated
Oct 14, 2018
Owner
Andrei Dobrescu (andob)
Contributors
Andrei Dobrescu (andob)
www
2
Activity
Badge
Generate
Download
Source code

Advertising

JClusterSpiderifier

Java cross-platform library-agnostic Map Cluster Spiderifier algorithm

This library provides a lightweight algorithm to expand a map marker cluster into a spiderweb-like structure, so that the user can interact with each individual marker.

Import

Using gradle:

allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}
dependencies {
    implementation 'com.github.andob:JClusterSpiderifier:1.0.2'
}

Using maven:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
<dependency>
    <groupId>com.github.andob</groupId>
    <artifactId>JClusterSpiderifier</artifactId>
    <version>1.0.2</version>
</dependency>

Setup

Android / GoogleMaps

Google Maps guide

using GoogleMaps Android utils / marker clustering module

Android / MapBox

MapBox guide

using Mapbox Android Plugin / deprecated marker clustering module

Other library / platform

Take a look at Android / Google maps or MapBox guide. The library itself focuses only on the algorithm, does not interact with nor include any map library. Thus the setup is a little verbose.. But in this way you have unlimited freedom to your code, to use any map library (GMaps, MapBox, osmdroid etc) or any platform (Android, JavaFX etc).

License

Copyright 2018 Andrei Dobrescu

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.`