Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public static final class MarkerClusterer.Cluster

  1. Object
  2. MarkerClusterer.Cluster
A group of markers.

Constructors

public Cluster()

Methods

public LatLng getPosition()The average position of the markers.
public int getSize()The number of markers.
public List<Integer> getIndices()The indices of the markers in the input list.

Inherited methods

Constructor details

Cluster

public Cluster()

Method details

getPosition

public LatLng getPosition()
The average position of the markers.

Returns

the center

getSize

public int getSize()
The number of markers.

Returns

the count

getIndices

public List<Integer> getIndices()
The indices of the markers in the input list.

Returns

the indices