Hide elements until value exists, added comments

pull/391/head
PWRxPSYCHO 2022-02-23 09:26:56 -05:00
rodzic cac9c9be7c
commit cdbd762e27
2 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -400,6 +400,11 @@ class MapFragment : ScreenFragment("Map"), Logging {
)
// Use the the default TileStore to load this region. You can create custom TileStores are are
// unique for a particular file path, i.e. there is only ever one TileStore per unique path.
/*
Calculate region from user specified position.
2.5 miles N,S,E,W from user center point.
*/
val right = calculateCoordinate(0.0, point.latitude(), point.longitude())
val top = calculateCoordinate(90.0, point.latitude(), point.longitude())
val left = calculateCoordinate(180.0, point.latitude(), point.longitude())

Wyświetl plik

@ -13,6 +13,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="8dp"
android:visibility="gone"
android:text="Lat:" />
<TextView
@ -20,6 +21,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="8dp"
android:visibility="gone"
android:text="Lon:" />
</LinearLayout>