mapbox / mapbox/mapbox-plugins-android
Changing to 10000 symbols after zooming in BulkSymbolActivity.java exits activity
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 242
- フォーク
- 116
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
BulkSymbolActivity.java から始め、報告された 2 つのシナリオを再現します。ズームインした状態で 10000 個のシンボルに切り替えることと、10000 個を選択した状態でズームアウトすることです。アクティビティが終了する理由を追跡し、利用可能な診断情報を特定します。問題のある操作によって Annotation プラグインのリストに予期せず戻らなくなれば完了です。防止できない場合は、その動作が明確に文書化されていれば完了とします。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android, java
- 領域
- mobile
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100