File tree Expand file tree Collapse file tree 3 files changed +4
-11
lines changed
java/com/runnect/runnect/presentation/coursemain Expand file tree Collapse file tree 3 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ dependencies {
142142 // Normal
143143 implementation ' io.github.ParkSangGwon:tedpermission-normal:3.3.0'
144144 // Location 라이브러리(현재위치)
145- implementation ' com.google.android.gms:play-services-location:17.1 .0'
145+ implementation ' com.google.android.gms:play-services-location:21.3 .0'
146146
147147 implementation " com.squareup.retrofit2:converter-gson:2.9.0"
148148 implementation ' com.google.code.gson:gson:2.10.1'
Original file line number Diff line number Diff line change @@ -109,19 +109,12 @@ class CourseMainFragment :
109109 naverMap.maxZoom = 18.0
110110 naverMap.minZoom = 10.0
111111
112- map .locationSource = locationSource
112+ naverMap .locationSource = locationSource
113113
114114 if (isLocationPermissionGranted()) {
115115 map.locationTrackingMode = LocationTrackingMode .Follow // 위치추적 모드 Follow
116116 }
117117
118- // 네이버 맵 sdk에 위치 정보 제공
119- locationSource = FusedLocationSource (
120- this ,
121- LOCATION_PERMISSION_REQUEST_CODE
122- )
123- naverMap.locationSource = locationSource
124-
125118 naverMap.addOnLocationChangeListener { location ->
126119 currentLocation = LatLng (location.latitude, location.longitude)
127120 map.locationOverlay.run { // 현재 위치 마커
Original file line number Diff line number Diff line change 1414 <FrameLayout
1515 android : id =" @+id/fl_main"
1616 android : layout_width =" match_parent"
17- android : layout_height =" match_parent "
17+ android : layout_height =" 0dp "
1818 app : layout_constraintBottom_toTopOf =" @id/btm_navi_main"
1919 app : layout_constraintTop_toTopOf =" parent" />
2020
3737 <com .google.android.material.bottomnavigation.BottomNavigationView
3838 android : id =" @+id/btm_navi_main"
3939 android : layout_width =" match_parent"
40- android : layout_height =" 57dp "
40+ android : layout_height =" wrap_content "
4141 android : background =" @drawable/radius_menu"
4242 app : itemBackground =" @color/transparent_00"
4343 app : itemIconTint =" @color/main_menu_color_selector"
You can’t perform that action at this time.
0 commit comments