Hide elements until value exists, added comments

This commit is contained in:
PWRxPSYCHO
2022-02-23 09:26:56 -05:00
parent cac9c9be7c
commit cdbd762e27
2 changed files with 7 additions and 0 deletions

View File

@@ -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())