Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ import timber.log.Timber

private const val DEFAULT_LATITUDE = 37.49517278813046
private const val DEFAULT_LONGITUDE = 126.95661313346206
private const val DEFAULT_ZOOM = 17.5
private const val DEFAULT_ZOOM = 14.5
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

상도시장이 화면에 즉시 보이도록 줌 레벨을 조정한 의도는 적절합니다. 다만, 고정된 줌 레벨(14.5)을 사용하면 기기의 화면 크기나 해상도에 따라 상도시장 영역이 화면에 다 들어오지 않거나, 반대로 너무 넓은 영역이 보일 수 있는 한계가 있습니다.

사용자 기기의 화면 크기에 관계없이 특정 영역(예: 숭실대학교와 상도시장을 모두 포함하는 영역)을 일관되게 보여주려면, LatLngBounds를 정의하고 CameraUpdate.fitBounds(bounds, padding)를 사용하여 카메라 위치를 설정하는 방식을 고려해 보시기 바랍니다. 이는 다양한 안드로이드 기기 환경에서 더 견고한 UX를 제공할 수 있는 방법입니다.

private const val PERMISSION_REQUEST_CODE = 1001

@Composable
Expand Down
Loading