Skip to content

Bump core and TomTom for the circle tap index and the TomTom restack - #122

Merged
wf9a5m75 merged 2 commits into
developfrom
fix/circle-tap-index
Nov 11, 2026
Merged

wf9a5m75 merged 2 commits into
developfrom
fix/circle-tap-index

Conversation

@wf9a5m75

Copy link
Copy Markdown
Contributor

Circles を大量に描く変更(#120)のレビューで見つかった 2 件の修正を取り込みます。

  • android-sdk-core(PR Lint improve #37 に積み足し): タイル描画中の円のタップ判定が、全部の CircleState を読んでいた。TB520FU の実機で、72 万 3,800 個のときタップ 1 回 0.6 秒、しかもメインスレッドで止まっていた。タイルが持っている空間インデックスで近くの円だけを拾うようにして、0.1〜2.6 ミリ秒になった。判定の中身は変えていない。
  • android-for-tomtom(PR Implement marker drag feature #19 に積み足し): restackCircles() が、地面画像・ポリゴン・円が加わるたびに全部の円を clear してから足し直していた。タイル描画中だと 72 万個を毎回タイルにし直す(最初のタイルが出るまで 17 秒が 24 秒になり、キャリアを戻すと 6 秒が 13 秒になり、その間タイルが消える)。ポリラインと同じく、タイル描画中は足し直さないようにした。

確認: core の円まわりの実機テスト 31 件(回帰テスト 3 件を足した)、JVM テスト 411 件、TB520FU で example-app の全国の円のページを TomTom で開いての計測。

android-sdk-core: taps find tiled circles through the tile index (0.6 s -> under 3 ms at 723,800 circles on a TB520FU). android-for-tomtom: no restack while circles are tiled (each new overlay tiled all circles again).
android-sdk-core 7e4f4f5 has both #38 (polygon ordering and cancellation, from #121) and #37 (circle tap index); android-for-tomtom 67fc6f8 is #19 merged. Tested together: core JVM 411 and device 107 (TB520FU), all passing.
@wf9a5m75
wf9a5m75 merged commit 51c9f7c into develop Nov 11, 2026
1 check passed
@wf9a5m75
wf9a5m75 deleted the fix/circle-tap-index branch November 11, 2026 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant