mapbox / mapbox/mapbox-plugins-android

Changing to 10000 symbols after zooming in BulkSymbolActivity.java exits activity

Đang mở
#1,063 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

annotation-plugin
Ngôn ngữ chính
Java
Star
242
Fork
116
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với BulkSymbolActivity.java và tái hiện cả hai kịch bản đã được báo cáo: chuyển sang 10000 ký hiệu khi đang phóng to, và thu nhỏ khi đã chọn 10000 ký hiệu. Truy tìm lý do activity thoát và xác định mọi chẩn đoán hiện có; được xem là hoàn tất khi các thao tác có vấn đề không còn bất ngờ quay lại danh sách plugin Annotation, hoặc khi hành vi này được ghi chép rõ ràng nếu không thể ngăn chặn.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
android, java
Lĩnh vực
mobile
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.