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)
}
}
}
}

View file

@ -53,6 +53,7 @@
android:layout_margin="16dp"
android:backgroundTint="@color/buttonColor"
android:contentDescription="@string/download_region"
android:visibility="invisible"
android:src="@drawable/baseline_download_white_24dp"
tools:background="@color/buttonColor" />
</LinearLayout>