JClusterSpiderifier

Additional

Language
Java
Version
1.0.5 (May 3, 2020)
Created
Oct 13, 2018
Updated
Jun 21, 2022 (Retired)
Owner
Andrei Dobrescu (andob)
Contributors
Andrei Dobrescu (andob)
www
andob001
3
Activity
Badge
Generate
Download
Source code

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://maven.andob.info/repository/open_source' }
    }
}
dependencies {
    implementation 'ro.andob.mapcluster:spiderifier:1.0.5'
}

Using maven:

<repositories>
    <repository>
        <id>maven.andob.info</id>
        <url>https://maven.andob.info/repository/open_source</url>
    </repository>
</repositories>
<dependency>
    <groupId>ro.andob.mapcluster</groupId>
    <artifactId>spiderifier</artifactId>
    <version>1.0.5</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 - 2020 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.`