dc09-sensors2 #5

Merged
nm17 merged 28 commits from dc09-sensors2 into master 2023-06-18 13:15:53 +03:00
Showing only changes of commit 06bc8a839e - Show all commits

View file

@ -8,7 +8,7 @@ import androidx.compose.runtime.remember
import androidx.compose.ui.Modifier import androidx.compose.ui.Modifier
import androidx.compose.ui.geometry.Offset import androidx.compose.ui.geometry.Offset
import io.ktor.client.HttpClient import io.ktor.client.HttpClient
import io.ktor.client.engine.cio.CIO import io.ktor.client.engine.okhttp.OkHttp
import io.ktor.client.request.get import io.ktor.client.request.get
import io.ktor.client.statement.bodyAsChannel import io.ktor.client.statement.bodyAsChannel
import io.ktor.utils.io.jvm.javaio.toInputStream import io.ktor.utils.io.jvm.javaio.toInputStream
@ -22,7 +22,7 @@ import java.io.InputStream
const val mapSize = 32768 const val mapSize = 32768
val client = HttpClient(CIO) val client = HttpClient(OkHttp)
val tileStreamProvider = TileStreamProvider { row, col, zoom -> val tileStreamProvider = TileStreamProvider { row, col, zoom ->
requestTile(row, col, zoom) requestTile(row, col, zoom)
} }