kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
Hide elements until value exists, added comments
rodzic
cac9c9be7c
commit
cdbd762e27
|
@ -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())
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue