Нерабочий фикс карты
This commit is contained in:
parent
96d7819d00
commit
266e2001f2
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,8 @@ import java.net.URL
|
|||
|
||||
class MapViewModel : ViewModel() {
|
||||
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(
|
||||
|
|
Loading…
Reference in a new issue