googlemaps / googlemaps/android-maps-compose

Option to center camera on current location on map load

Open
#184 3 comments 13 reactions 1 assignee Claimed by @barbeau View on GitHub
priority: p3 type: feature request
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.