Skip to content

Vector style support: style hosts, style mutations, and local tile rendering - #15

Merged
wf9a5m75 merged 6 commits into
developfrom
checkpoint/vector-style-20261010
Oct 24, 2026
Merged

wf9a5m75 merged 6 commits into
developfrom
checkpoint/vector-style-20261010

Conversation

@wf9a5m75

Copy link
Copy Markdown
Contributor

概要

checkpoint/vector-style-20261010 を develop に取り込みます。ベクタースタイル対応のコア部分です。

develop をマージする前に、各ファイルの改行コードを develop と同じに戻しました。checkpoint のコミットで多くのファイルが LF と CRLF の間で丸ごと書き換わっており、実際の変更が埋もれていたためです。内容は変わっていません。

ベクタースタイル

  • MapViewStyle / MapViewStyleHost / MapStyleHost を追加しました。アプリが渡したスタイルをバックエンドに設置します。何が起きるかは、バックエンドが宣言した能力で決まります。
  • VectorStyleSupport(スタイル文書を受け取れる)と VectorStyleMutationSupport(読み込み済みのスタイルをその場で書き換えられる)を追加しました。
  • StyleMutation と applyStyleMutations を追加しました。スタイルの調整を、各レンダラーが読める形で適用します。
  • BaseMapViewController に mountRasterLayer / unmountRasterLayer / addStyleLoadedListener を追加しました。

タイル

  • RasterTilePreference を拡張しました。
  • LocalTileServer でローカルタイルの描画を公開しました。プロバイダーが HTTP を通さずに使えます。
  • マーカータイルの配置キーが切り捨てられ、タイルの境目でずれていたのを直しました。

テスト

  • ApplyStyleMutationsTest / MapViewStyleHostTest / StyleMutationStoreTest / StyleMutationParseTest を追加しました。
  • testDebugUnitTest は 281 件すべて通り、assembleRelease も成功します(マージ後に確認)。

@wf9a5m75
wf9a5m75 merged commit d40122a into develop Oct 24, 2026
2 checks passed
@wf9a5m75
wf9a5m75 deleted the checkpoint/vector-style-20261010 branch October 24, 2026 17: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