Working on "view region" flow

This commit is contained in:
PWRxPSYCHO
2022-03-07 09:44:29 -05:00
parent cc295d0fb3
commit 3fde01588c
2 changed files with 4 additions and 1 deletions

View File

@@ -592,7 +592,9 @@ class MapFragment : ScreenFragment("Map"), Logging {
if (userStyleURI != null) {
it?.loadStyleUri(userStyleURI.toString())
} else {
it?.loadStyleUri(mapView?.getMapboxMap()?.getStyle()?.styleURI.toString())
it?.getStyle().also { style ->
style?.removeStyleImage(userPointImageId)
}
}
}
}