googlemaps / googlemaps/android-maps-compose
Option to center camera on current location on map load
- Dominant language
- Kotlin
- Stars
- 1.3k
- Forks
- 181
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 18
Description
**Is your feature request related to a problem? Please describe.**
I'd like to be able to configure the map to start with the camera on my current location without having to press a button. It seems like a waste of time to do it all manually, pulling in the dependency for the fused location provider, abstracting it, etc., when the SDK already has the current location, and can show it if `isMyLocationEnabled` is `true`.
**Describe the solution you'd like**
Perhaps a property in `MapProperties` called `startAtCurrentLocation`.
**Describe alternatives you've considered**
Requesting the user's current location, then setting it as a camera update on map load.
Contributor guide
Assessment
This issue has not been assessed yet.