google / google/ground-android
[Code health] Cleanup CameraPosition object
Open
type: code health
- Dominant language
- Kotlin
- Stars
- 293
- Forks
- 149
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 42
Description
I didn't realize we have bounds here; essentially (`target`, `zoomLevel`) and `bounds` model the same info. Also, `isAllowZoomOut` is an arg to an event, not to the current camera state. Can you file a bug (against me?) to clean this up and add a TODO here?
_Originally posted by @gino-m in https://github.com/google/ground-android/pull/1711#discussion_r1232525088_
Contributor guide
Assessment
This issue has not been assessed yet.