Skip to content

Commit 08f494d

Browse files
committed
[MOD] #293 createMbr() 함수명 변경 및 주석 추가
1 parent 69712ac commit 08f494d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

app/src/main/java/com/runnect/runnect/presentation/draw/DrawActivity.kt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ class DrawActivity :
310310
btnCreateCourse.setOnClickListener {
311311
hideKeyboard(etCourseName)
312312
bottomSheetDialog.dismiss()
313-
createMbr()
313+
createMBR()
314314
}
315315

316316
return bottomSheetDialog
@@ -664,7 +664,10 @@ class DrawActivity :
664664
}
665665
}
666666

667-
private fun createMbr() {
667+
/**
668+
* MBR : 남서쪽과 북동쪽 꼭지점 두 개의 좌표로 만드는 직사각형 영역
669+
*/
670+
private fun createMBR() {
668671
val bounds = LatLngBounds.Builder()
669672
.include(LatLng(departureLatLng.latitude, departureLatLng.longitude)).include(touchList)
670673
.build()

0 commit comments

Comments
 (0)