Skip to content

Commit daa3ab6

Browse files
committed
[Fix] #262 - 러닝 시작할때 커스텀 마커가 바로 안뜨는 이슈 해결
1 parent a0c30db commit daa3ab6

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

Runnect-iOS/Runnect-iOS/Global/UIComponents/MapView/RNMapView.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ extension RNMapView {
9292
@discardableResult
9393
func setPositionMode(mode: NMFMyPositionMode) -> Self {
9494
map.mapView.positionMode = mode
95+
switch mode {
96+
case .direction:
97+
setDirectionModeLocationOverlay()
98+
default:
99+
setNormalModeLocationOverLay()
100+
}
95101
return self
96102
}
97103

Runnect-iOS/Runnect-iOS/Presentation/Running/VC/RunningWaitingVC.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ extension RunningWaitingVC {
120120
self.shareButton.addTarget(self, action: #selector(shareButtonDidTap), for: .touchUpInside)
121121
}
122122

123+
// 내 코스인지 아닌지 구별하는 함수입니다.
123124
private func isMyCourse(courseOwner: Bool) {
124-
print("💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪💪")
125125
self.shareButton.isHidden = !courseOwner
126126
self.moreButton.isHidden = !courseOwner
127127
}

0 commit comments

Comments
 (0)