ClusterLayer

open fun ClusterLayer(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, clusterwill hide on collision with vehicle.