ConstrainMode

The map constrain mode. This can be used to limit the map to wrap around the globe horizontally. By default, it is set to HeightOnly.

enum ConstrainMode : Enum<ConstrainMode>

Parameters

value

Entries

NONE
Link copied to clipboard

No constraints.

NONE("none")
HEIGHT_ONLY
Link copied to clipboard

Constrain to height only.

HEIGHT_ONLY("height-only")
WIDTH_AND_HEIGHT
Link copied to clipboard

Constrain both width and height axes.

WIDTH_AND_HEIGHT("width-and-height")

Functions

compareTo
Link copied to clipboard
operator override fun compareTo(other: ConstrainMode): Int
equals
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
finalize
Link copied to clipboard
override fun finalize()
getDeclaringClass
Link copied to clipboard
override fun getDeclaringClass(): Class<ConstrainMode>
hashCode
Link copied to clipboard
override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

name
Link copied to clipboard
override val name: String
ordinal
Link copied to clipboard
override val ordinal: Int
value
Link copied to clipboard

val value: String