Repository navigation
Vector style support: style hosts, style mutations, and local tile rendering - #15
Merged
Merged
Conversation
The checkpoint commit rewrote whole files between LF and CRLF, which buried its real changes under line-ending noise. Content is unchanged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
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も成功します(マージ後に確認)。