ClusterLayer

constructor(markers: List<MapMarker>, priority: Int, vehicleCollisionEnabled: Boolean)

Create new cluster of markers.

Parameters

markers

List of markers in the cluster

priority

Priority of the cluster, higher has more priority

vehicleCollisionEnabled

Flag to enable collisions with the vehicle. When false, cluster will hide on collision with vehicle.