kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
meshtastic#413 Add Satellite Map Layers - correct after remove offline regions
rodzic
8b5b33bcd5
commit
c997440f75
|
@ -229,10 +229,10 @@ class MapFragment : ScreenFragment("Map"), Logging {
|
|||
|
||||
if (userStyleURI != null) {
|
||||
offlineManager.removeStylePack(userStyleURI!!)
|
||||
mapView?.getMapboxMap()?.loadStyleUri(Style.OUTDOORS)
|
||||
mapView?.getMapboxMap()?.loadStyleUri(loadMapStyleFromPref())
|
||||
} else {
|
||||
offlineManager.removeStylePack(mapView?.getMapboxMap()?.getStyle()?.styleURI.toString())
|
||||
mapView?.getMapboxMap()?.loadStyleUri(Style.OUTDOORS)
|
||||
mapView?.getMapboxMap()?.loadStyleUri(loadMapStyleFromPref())
|
||||
}
|
||||
MapboxMap.clearData(resourceOptions) {
|
||||
it.error?.let { error ->
|
||||
|
|
Ładowanie…
Reference in New Issue