[Refactor] 공통 KakaoMapView 추출 + 장소 검색 Compose 전환 #551#554
Open
edv-Shin wants to merge 3 commits into
Open
Conversation
지도를 쓰는 화면들이 공유할 수 있도록 matching 에 있던 KakaoMapView 를 presentation 모듈(com.project200.presentation.compose.map)로 옮긴다. presentation 에 libs.kakao.map 의존성을 추가하고, MatchingMapScreen 은 이동한 KakaoMapView 를 import 한다.
레이아웃의 kakao MapView 를 ComposeView 로 바꾸고, 공통 KakaoMapView 컴포저블을 applyAppTheme 로 호스팅한다. onMapReady 에서 기존 로직(제스처 비활성화·리스너·초기 위치)을 그대로 수행하고, 수동 resume/pause 는 컴포저블 생명주기로 대체한다. fromScreenPoint 좌표 참조는 mapView → mapComposeView 로 치환.
exercise 모듈의 장소 검색 화면도 동일하게 kakao MapView 를 ComposeView + 공통 KakaoMapView 컴포저블로 전환한다. onMapReady 로 KakaoMap 을 받아 기존 로직을 유지하고, resume/pause 는 컴포저블 생명주기로 대체, 좌표 참조는 mapView → mapComposeView 로 치환.
yunjaena
approved these changes
Jul 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#️⃣연관된 이슈
#551
📝작업 내용
#546에서 만든
KakaoMapView컴포저블을 공통 모듈로 올리고, 지도를 쓰는 보조 화면 2곳(장소 검색)도 지도 본체를 Compose(ComposeView interop)로 전환했습니다.KakaoMapView컴포저블을presentation모듈로 이동feature/matching→presentation(com.project200.presentation.compose.map)presentation에libs.kakao.map의존성 추가MatchingMapScreen은 이동한KakaoMapView를 import (동작 동일)KakaoMapView를 공유ExercisePlaceSearchFragment(matching) 지도 본체 Compose 전환com.kakao.vectormap.MapView→ComposeView(map_compose_view), center marker 제약 갱신mapView.start(...)직접 호출 대신applyAppTheme { KakaoMapView(onMapReady = { ... }) }로 호스팅onMapReady에서 기존 로직(제스처 비활성화,setOnCameraMoveEndListener, 초기 위치) 그대로 유지onResume/onPause의resume/pause제거 → 컴포저블DisposableEffect가 처리fromScreenPoint좌표 참조binding.mapView.*→binding.mapComposeView.*(ComposeView 가 동일 영역이라 동작 유지)PlaceSearchFragment(exercise) 지도 본체 Compose 전환스크린샷 (선택)
💬리뷰 요구사항(선택)