ClusterLayer

open class ClusterLayer : BaseNativeParcelable

Constructors

Link copied to clipboard
open fun ClusterLayer(    markers: List<MapMarker>,     priority: Int,     vehicleCollisionEnabled: Boolean)
Create new cluster of markers.

Types

Link copied to clipboard
open class MarkerNotAddedException : IllegalStateException

Functions

Link copied to clipboard
open fun describeContents(): Int
Link copied to clipboard
open fun getId(): Int
Unique id of a cluster layer.
Link copied to clipboard
open fun getMarkers(): List<MapMarker>
List of markers in the cluster
Link copied to clipboard
open fun getPriority(): Int
Priority of the cluster.
Link copied to clipboard
open fun isValid(): Boolean
Checks if all Markers in ClusterLayer are already added to map
Link copied to clipboard
open fun isValidParcelable(): Boolean
If object after recreate from parcel contains all of reference like original object method return true.
Link copied to clipboard
open fun isVehicleCollisionEnabled(): Boolean
Returns whether the collisions with vehicle are enabled.
Link copied to clipboard
open fun writeToParcel(dest: Parcel, flags: Int)

Properties

Link copied to clipboard
val CREATOR: Parcelable.Creator<ClusterLayer>