mapbox / mapbox/mapbox-plugins-android

InfoWindow and anchor support for MarkerViews.

Ouverte
#759 7 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

feature markerview-plugin
Langage dominant
Java
Étoiles
242
Forks
116
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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?

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Commencez par examiner le plugin MarkerView et les deux classes mentionnées dans l'issue, puis comparez son comportement actuel avec la prise en charge de symbol-layer et d'InfoWindow par la carte. Confirmez comment fonctionnent le positionnement de anchor et le moment des mises à jour pendant les déplacements et les zooms. Le travail sera considéré comme terminé lorsqu'un périmètre convenu pour anchor, les mises à jour fréquentes de la position et la prise en charge d'InfoWindow aura été défini.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
android, java
Domaine
mobile
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.