tileCover

suspend fun tileCover(tileCoverOptions: TileCoverOptions, cameraOptions: CameraOptions? = null): List<CanonicalTileID>

Returns tileIDs that cover current map camera.

Note! This is an experimental API and behavior might change in future.

It will suspend until current MapState is set to the MapboxMap composable function.

Return

Returns a list of CanonicalTileID that cover the current map camera.

Parameters

tileCoverOptions

Options for the tile cover method.

cameraOptions

This is an extra parameter for future use. Has no effect for now.