buildTileSourceImageSource

actual fun buildTileSourceImageSource(source: TileSource, z: Int, x: Int, y: Int, imageFormat: String): ImageSource

Construct a platform-specific ImageSource backed by source for tile (z, x, y). The platform actual returns an ImageSource.ImageFactory that fetches via TileSource.fetchTile and decodes the resulting bytes (PNG/JPEG/WebP/…) into the platform's native bitmap type.

expect fun buildTileSourceImageSource(source: TileSource, z: Int, x: Int, y: Int, imageFormat: String): ImageSource

Construct a platform-specific ImageSource backed by source for tile (z, x, y). The platform actual returns an ImageSource.ImageFactory that fetches via TileSource.fetchTile and decodes the resulting bytes (PNG/JPEG/WebP/…) into the platform's native bitmap type.

actual fun buildTileSourceImageSource(source: TileSource, z: Int, x: Int, y: Int, imageFormat: String): ImageSource

Construct a platform-specific ImageSource backed by source for tile (z, x, y). The platform actual returns an ImageSource.ImageFactory that fetches via TileSource.fetchTile and decodes the resulting bytes (PNG/JPEG/WebP/…) into the platform's native bitmap type.

actual fun buildTileSourceImageSource(source: TileSource, z: Int, x: Int, y: Int, imageFormat: String): ImageSource

Construct a platform-specific ImageSource backed by source for tile (z, x, y). The platform actual returns an ImageSource.ImageFactory that fetches via TileSource.fetchTile and decodes the resulting bytes (PNG/JPEG/WebP/…) into the platform's native bitmap type.

actual fun buildTileSourceImageSource(source: TileSource, z: Int, x: Int, y: Int, imageFormat: String): ImageSource

Construct a platform-specific ImageSource backed by source for tile (z, x, y). The platform actual returns an ImageSource.ImageFactory that fetches via TileSource.fetchTile and decodes the resulting bytes (PNG/JPEG/WebP/…) into the platform's native bitmap type.