Skip to content

Commit 7ff89e2

Browse files
committed
chore: T맵 위치 변경 인식 최소 거리 값 변수로 빼기
1 parent 570c4be commit 7ff89e2

File tree

1 file changed

+2
-1
lines changed
  • presentation/src/main/java/com/stop/ui/mission

1 file changed

+2
-1
lines changed

presentation/src/main/java/com/stop/ui/mission/TMap.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class TMap(
5252

5353
fun setTrackingMode() {
5454
val manager = TMapGpsManager(context).apply {
55-
minDistance = 2.5F
55+
minDistance = RECOGNIZABLE_MINIMUM_DISTANCE_CHANGE
5656
provider = TMapGpsManager.PROVIDER_GPS
5757
openGps()
5858
provider = TMapGpsManager.PROVIDER_NETWORK
@@ -110,5 +110,6 @@ class TMap(
110110
private const val KOREA_LONGITUDE_MAX = 132.550049
111111

112112
private const val DEFAULT_ZOOM_LEVEL = 16
113+
private const val RECOGNIZABLE_MINIMUM_DISTANCE_CHANGE = 2.5f
113114
}
114115
}

0 commit comments

Comments
 (0)