MapEvents

fun MapEvents(onMapLoaded: MapLoadedCallback? = null, onMapIdle: MapIdleCallback? = null, onMapLoadingError: MapLoadingErrorCallback? = null, onStyleLoaded: StyleLoadedCallback? = null, onStyleDataLoaded: StyleDataLoadedCallback? = null, onSourceDataLoaded: SourceDataLoadedCallback? = null, onSourceAdded: SourceAddedCallback? = null, onSourceRemoved: SourceRemovedCallback? = null, onStyleImageMissing: StyleImageMissingCallback? = null, onStyleImageRemoveUnused: StyleImageRemoveUnusedCallback? = null, onCameraChanged: CameraChangedCallback? = null, onRenderFrameStarted: RenderFrameStartedCallback? = null, onRenderFrameFinished: RenderFrameFinishedCallback? = null, onResourceRequest: ResourceRequestCallback? = null)

Parameters

onMapLoaded

Callback for MapLoaded event.

onMapIdle

Callback for MapIdle event.

onMapLoadingError

Callback for MapLoadingError event.

onStyleLoaded

Callback for StyleLoaded event.

onStyleDataLoaded

Callback for StyleDataLoaded event.

onSourceDataLoaded

Callback for SourceDataLoaded event.

onSourceAdded

Callback for SourceAdded event.

onSourceRemoved

Callback for SourceRemoved event.

onStyleImageMissing

Callback for StyleImageMissing event.

onStyleImageRemoveUnused

Callback for StyleImageRemoveUnused event.

onCameraChanged

Callback for CameraChanged event.

onRenderFrameStarted

Callback for RenderFrameStarted event.

onRenderFrameFinished

Callback for RenderFrameFinished event.

onResourceRequest

Callback for ResourceRequest event.