File tree Expand file tree Collapse file tree
build-logic/src/main/java/com/neki/android/buildlogic/const
feature/map/impl/src/main/java/com/neki/android/feature/map/impl Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import org.gradle.api.JavaVersion
55object BuildConst {
66 const val APPLICATION_ID = " com.neki.android"
77
8- const val VERSION_CODE = 16
8+ const val VERSION_CODE = 17
99 const val VERSION_NAME = " 1.2.0"
1010
1111 const val MIN_SDK = 29
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import androidx.compose.ui.graphics.ImageBitmap
44import com.neki.android.core.model.Brand
55import com.neki.android.core.model.PhotoBooth
66import com.neki.android.feature.map.impl.const.DirectionApp
7+ import com.neki.android.feature.map.impl.const.MapConst
78import kotlinx.collections.immutable.ImmutableList
89import kotlinx.collections.immutable.ImmutableMap
910import kotlinx.collections.immutable.persistentListOf
@@ -63,6 +64,7 @@ sealed interface MapEffect {
6364 data class MoveCameraToPosition (
6465 val locLatLng : LocLatLng ,
6566 val isRequiredLoadPhotoBooths : Boolean = false ,
67+ val zoomLevel : Double = MapConst .DEFAULT_ZOOM_LEVEL ,
6668 ) : MapEffect
6769 data class ZoomToClusterBounds (
6870 val southWest : LocLatLng ,
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ fun MapRoute(
141141 cameraPositionState.animate(
142142 update = CameraUpdate .scrollAndZoomTo(
143143 LatLng (sideEffect.locLatLng.latitude, sideEffect.locLatLng.longitude),
144- MapConst . DEFAULT_ZOOM_LEVEL ,
144+ sideEffect.zoomLevel ,
145145 ),
146146 animation = CameraAnimation .Easing ,
147147 durationMs = MapConst .DEFAULT_CAMERA_ANIMATION_DURATIONS_MS ,
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ internal object MapConst {
77
88 // 기본 줌 레벨
99 internal const val DEFAULT_ZOOM_LEVEL = 14.0
10+ internal const val MARKER_SELECTED_ZOOM_LEVEL = 18.0
1011 internal const val MIN_ZOOM_LEVEL = 12.0
1112 internal const val MAX_ZOOM_LEVEL = 20.0
1213
You can’t perform that action at this time.
0 commit comments