googlemaps / googlemaps/android-maps-utils

Support 3D follow

Offen
#714 9 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
priority: p2 type: feature request
Vorherrschende Sprache
Kotlin
Sterne
3.6k
Forks
1.6k
Ø Merge
2 T. 20 Std.
Gemergte PRs (30 T.)
17

Beschreibung

**Is your feature request related to a problem? Please describe.**

It would be nice to have a feature in the library that developers can turn on or off that would have the map camera automatically follow the user's location on the map in 3D - something like this:

![image](https://user-images.githubusercontent.com/928045/81221182-7c42f380-8fb0-11ea-9c45-0088ed46cd3c.png)

**Describe the solution you'd like**

Moving and tilting the map camera based on rotation vector sensors is described in this Google I/O video (including sample code), which the above screenshot is grabbed from:
https://youtu.be/_oZiK_NJuG8?t=1453

I've implemented a version of this in an app I maintain:
https://github.com/barbeau/gpstest/blob/master/GPSTest/src/google/java/com/android/gpstest/GpsMapFragment.java#L281

Exact API design is TBD.

**Describe alternatives you've considered**
Do nothing - don't implement the feature

**Additional context**
See links above

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by reviewing the linked Google I/O video and the referenced GPSTest GpsMapFragment.java implementation around line 281. Then inspect this library's map-camera entry points to determine where a configurable 3D follow feature could fit. Done requires an agreed API design and a working camera-follow implementation with appropriate tests or validation.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
android, kotlin
Bereich
mobile
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.