diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-01-18 00:33:05 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-01-18 00:33:05 -0600 |
commit | eb22658cf7c314579bc62a786cdf6fa576c633a8 (patch) | |
tree | a5c83d7236cc167d4c2daf309c16567e4e187726 /androidApp/src/main/java/mx/trackermap/TrackerMap | |
parent | a394a0e2489324b5dabc9854104e88946efedded (diff) | |
download | etbsa-trackermap-mobile-eb22658cf7c314579bc62a786cdf6fa576c633a8.tar.gz etbsa-trackermap-mobile-eb22658cf7c314579bc62a786cdf6fa576c633a8.tar.bz2 etbsa-trackermap-mobile-eb22658cf7c314579bc62a786cdf6fa576c633a8.zip |
Changed default zoom for focusOn
Diffstat (limited to 'androidApp/src/main/java/mx/trackermap/TrackerMap')
-rw-r--r-- | androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt | 2 | ||||
-rw-r--r-- | androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapWrapperFragment.kt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt index 87fb44a..37956c1 100644 --- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt +++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt @@ -344,7 +344,7 @@ open class MapFragment : GlobeMapFragment() { fun focusOn( latitude: Double, longitude: Double, - height: Double = 0.00001, + height: Double = 0.0000264, animated: Boolean = true ) { val lat = latitude * Math.PI / 180 diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapWrapperFragment.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapWrapperFragment.kt index 01587ae..c8ef688 100644 --- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapWrapperFragment.kt +++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapWrapperFragment.kt @@ -130,7 +130,7 @@ class MapWrapperFragment: Fragment() { fun focusOn( latitude: Double, longitude: Double, - height: Double = 0.00001, + height: Double = 0.0000264, animated: Boolean = true ) { Log.d("MapWrapperFragment", "Focusing on $latitude, $longitude") |