Skip to content

Size the info bubble by the icon's real extent - #6

Merged
wf9a5m75 merged 1 commit into
mainfrom
feature/marker-label-position
Oct 23, 2026
Merged

wf9a5m75 merged 1 commit into
mainfrom
feature/marker-label-position

Conversation

@wf9a5m75

Copy link
Copy Markdown
Contributor

概要

MapViewBase の吹き出しの位置計算を、アイコンの実寸(MarkerIconExtent.ratio)で行うようにしました。

既定アイコンにラベルを横や上に置くと(labelPosition)、ビットマップはピン本体より広がります。これまでは一辺 iconSize の正方形として計算していたので、center top などで吹き出しがピンに食い込んでいました。

依存

確認

  • develop の android-sdk-core と合わせて集約ビルドし、compileDebugKotlin と apiCheck(変化なし)が通りました。
  • 作業ブランチの側で、エミュレータで吹き出しの尾がピンの頭に付くことを確かめています。

@wf9a5m75
wf9a5m75 merged commit 4ec42d8 into main Oct 23, 2026
2 of 3 checks passed
@wf9a5m75
wf9a5m75 deleted the feature/marker-label-position branch October 23, 2026 04:09
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