SourceDataLoadedEventData

The data class for style data loaded event data in Observer

data class SourceDataLoadedEventData(id: String, type: SourceDataType, loaded: Boolean?, tileID: TileID?)

Constructors

SourceDataLoadedEventData
Link copied to clipboard
fun SourceDataLoadedEventData(id: String, type: SourceDataType, loaded: Boolean?, tileID: TileID?)

Functions

component1
Link copied to clipboard
operator fun component1(): String
component2
Link copied to clipboard
operator fun component2(): SourceDataType
component3
Link copied to clipboard
operator fun component3(): Boolean?
component4
Link copied to clipboard
operator fun component4(): TileID?
copy
Link copied to clipboard
fun copy(id: String, type: SourceDataType, loaded: Boolean?, tileID: TileID?): SourceDataLoadedEventData
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

id
Link copied to clipboard

The 'id' property defines the source id.

@SerializedName(value = "id")
val id: String
loaded
Link copied to clipboard

The 'loaded' property will be set to 'true' if all source's data required for Map's visible viewport, are loaded.

@SerializedName(value = "loaded")
val loaded: Boolean?
tileID
Link copied to clipboard

The 'tile-id' property defines the tile id if the 'type' field equals 'tile'.

@SerializedName(value = "tile-id")
val tileID: TileID?
type
Link copied to clipboard

The 'type' property defines if source's metadata (e.g., TileJSON) or tile has been loaded.

@SerializedName(value = "type")
val type: SourceDataType