MapViewMode

enum MapViewMode : Enum<MapViewMode>

An enum class that defines the view modes for the map.

Each mode renders the map differently based on its display style (3D, 2D, or fixed 2D).

Entries

Link copied to clipboard

3D Mode. Displays the map from a 3D perspective with tilt applied.

Link copied to clipboard

2D Mode. Displays the map as a flat, top-down view.

Link copied to clipboard

Fixed 2D Mode. Displays the map as a flat, top-down view where the padding and bearing are fixed.

Properties

Link copied to clipboard
val entries: EnumEntries<MapViewMode>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val value: Int

An internal integer value representing the mode.

Functions

Link copied to clipboard
fun valueOf(value: String): MapViewMode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<MapViewMode>

Returns an array containing the constants of this enum type, in the order they're declared.