<dependency>
<groupId>com.github.alexakis97</groupId>
<artifactId>clustering</artifactId>
<version>1.1.4</version>
</dependency>
implementation 'com.github.alexakis97:clustering:1.1.4'
For more types of dependancies please refer here
Warning: Don't import Point from java.awt!
Point point = new Point(38.021332, 23.798630);
Cluster cluster = Cluster.getInstance();
cluster.loadCluster();
System.out.println(cluster.getClusterFeature(point,"en"));
The feature is returned as a String, with the extra param you can define the language, currently only "gr" and "en" are supported