MapEvents

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

Entry point for adding a Mapbox Map events to the Jetpack Compose UI.

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.

Constructors

Link copied to clipboard
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)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard