MPCollisionHandling

enum MPCollisionHandling

An enum container for the different ways to handle collisions

Entries

Link copied to clipboard

Will hide markers if they are overlapping with another marker

Link copied to clipboard

Will hide icons if they are overlapping with another feature such as an icon or another label

Link copied to clipboard

Will hide labels if they are overlapping with another feature such as an icon or another label

Link copied to clipboard

Will allow markers to overlap, nothing will be removed

Functions

Link copied to clipboard
open fun fromStringValue(@NonNull value: String): MPCollisionHandling
Converts a string value to the corresponding enum value
Link copied to clipboard
open fun fromValue(value: Int): MPCollisionHandling
Converts a numerical value to the corresponding enum value
Link copied to clipboard
open fun getValue(): Int
Gets the value of this enum
Link copied to clipboard
open fun ofType(@NonNull other: MPCollisionHandling): Boolean
Compares this object with another, returning true if they are of the same type
Link copied to clipboard
open fun valueOf(name: String): MPCollisionHandling
Link copied to clipboard
open fun values(): Array<MPCollisionHandling>