dc09-sensors #4

Merged
nm17 merged 6 commits from dc09-sensors into master 2023-06-05 21:37:07 +03:00
Showing only changes of commit 266e2001f2 - Show all commits

View file

@ -10,7 +10,8 @@ import java.net.URL
class MapViewModel : ViewModel() { class MapViewModel : ViewModel() {
private val tileStreamProvider = TileStreamProvider { row, col, zoom -> private val tileStreamProvider = TileStreamProvider { row, col, zoom ->
URL("https://tile.openstreetmap.org/${zoom}/${row}/${col}").openStream() URL("https://tile.openstreetmap.org/${zoom}/${row}/${col}.png").openStream()
//URL("https://tile2.maps.2gis.com/poi?x=${row}&y=${col}&z=${zoom}&v=1&ts=online_sd").openStream()
} }
val state: MapState by mutableStateOf( val state: MapState by mutableStateOf(