ClusterLayer

open class ClusterLayer : BaseNativeParcelable

Constructors

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

Types

MarkerNotAddedException
Link copied to clipboard
open class MarkerNotAddedException : IllegalStateException

Functions

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

Properties

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