googlemaps / googlemaps/android-maps-utils

Support 3D follow

Aperta
#714 9 commenti 2 reazioni 0 assegnatari Vedi su GitHub
priority: p2 type: feature request
Lingua principale
Kotlin
Stelle
3.6k
Fork
1.6k
Merge medio
2g 20h
PR unite (30g)
17

Descrizione

**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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
android, kotlin
Ambito
mobile
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.