mapbox / mapbox/mapbox-plugins-android

InfoWindow and anchor support for MarkerViews.

Aperta
#759 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

feature markerview-plugin
Lingua principale
Java
Stelle
242
Fork
116
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I've been playing with the MarkerView plugin so we can experiment with Lottie animations on our markers. While messing with em i've noticed that the plugin is in very early stages and doesn't have much support for anything.

I wasn't able to set an anchor on the view I supplied. So whenever it was added to the map the top left corner of the view was the lat/lng while the rest of the view was laid out below and to the right. I've made my own copies of the 2 classes in the plugin to adjust this.

The view also didn't seem to update its location frequently enough, zooming and panning the map would leave it in the same spot until the map was done rendering. I was able to get around this in my own version of the 2 classes as well.

I wasn't able to find a good way to hook the InfoWindow support the mapbox map has using marker views, is this something that will be added to this plugin? The same question goes for the other things i've had to adjust. Or would it be smarter to try and move to using symbol layers than waiting for this plugin to advance?

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia esaminando il plugin MarkerView e le due classi menzionate nell'issue, quindi confronta il suo comportamento attuale con il supporto della mappa per symbol-layer e InfoWindow. Verifica come funzionano il posizionamento di anchor e la tempistica degli aggiornamenti durante il pan e lo zoom. Il lavoro sarà considerato completato quando sarà stato concordato l'ambito per anchor, gli aggiornamenti frequenti della posizione e il supporto di InfoWindow.

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

Valutazione

Stack tecnologico
android, java
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.