googlemaps / googlemaps/android-maps-compose
rememberCameraPositionState() should accept `inputs` parameter
- Dominant language
- Kotlin
- Stars
- 1.3k
- Forks
- 181
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 18
Description
I noticed that in version 2.7.0 of `maps-compose` the function [rememberCameraPositionState](https://github.com/googlemaps/android-maps-compose/blob/202f34fc660046f3ce14ae827fa27d72ef7b9853/maps-compose/src/main/java/com/google/maps/android/compose/CameraPositionState.kt#L45-L51) does not accept an `inputs` parameter although it just delegates to `rememberSaveable`, which has `vararg inputs: Any?`. Is this a deliberate design decision?
I have a situation where the value actually should be recreated because latitude and longitude change after the user has selected a different location.
I'm happy to provide a pull request if this is a desired change.
Contributor guide
Assessment
This issue has not been assessed yet.