mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
Hide elements until value exists, added comments
This commit is contained in:
parent
cac9c9be7c
commit
cdbd762e27
2 changed files with 7 additions and 0 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue