mapbox / mapbox/mapbox-plugins-android
Changing to 10000 symbols after zooming in BulkSymbolActivity.java exits activity
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Java
- Estrellas
- 242
- Forks
- 116
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Background
The BulkSymbolActivity.java is quite performant on all zoom levels for the 10, 100, 500, and 1000 symbol quantity options provided in the dropdown. The 10000 option also works performantly in some cases, but causes the activity to exit after certain zoom interactions. A couple of different scenarios to reproduce the problematic behavior are presented below.
Steps to reproduce
Switching to 10000 symbols when zoomed in
Select any symbol quantity other than 10000, and then zoom into the map. Then, select 10000 from the dropdown, and the activity will exit back to the Annotation plugin list view screen.
Zooming out when using 10000 symbols
If the 10000 option is selected from the dropdown before zooming in, the symbols render after a few seconds. The map can then be zoomed in successfully with only a small amount of lag. However, attempting to zoom back out causes the activity to exit back to the Annotation plugin list view screen.
Although 10000 symbols in a geographic area as condensed as Washington DC is likely not a very common use case, the issue is worth addressing given that the behavior is not currently well-documented or explained. I could not find any log messages that explained the behavior, so even being able to better understand the exiting behavior would be a step in the right direction.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza con BulkSymbolActivity.java y reproduce los dos escenarios informados: cambiar a 10000 símbolos mientras se aplica zoom y alejar el zoom con 10000 símbolos seleccionados. Rastrea por qué sale la actividad e identifica cualquier diagnóstico disponible; se considera completado cuando las interacciones problemáticas ya no regresan inesperadamente a la lista de plugins de Annotation, o cuando el comportamiento queda documentado claramente si no se puede evitar.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- android, java
- Área
- mobile
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100