onSourceDataLoaded

Invoked when the requested source data has been loaded.

Parameters

id

defines the source id.

loaded

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

tileID

defines the tile id if the 'type' field equals 'tile'.

type

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

abstract fun onSourceDataLoaded(id: String, type: SourceDataType, loaded: Boolean?, tileID: TileID?)