feat: 图层级别增加 defaultFilter 支持#12
Open
fzxaasd wants to merge 1 commit into
Open
Conversation
fzxaasd
commented
Apr 28, 2026
- Layer 新增 DefaultFilter 属性,配置级别 DynamicFilterInfo JSON 格式
- LayerStore 读取 defaultFilter 配置并在刷新时检测变化,变化时清除 WMTS 缓存
- FilterMerger 按 Field 级别合并 defaultFilter 与前端 Z_FILTER,前端同名字段优先
- WmsService.GetMapAsync / GetFeatureInfoAsync 均应用 FilterMerger 合并逻辑
- WmtsService 重构流程:先合并 filter 再计算缓存路径,日志输出合并后的 filter
- WmtsService filterList/styleList 长度校验移到图层查询之后
- 新增 FilterMergerTests (15 个) 和 DefaultFilterTests (4 个) 覆盖边界条件
- Layer 新增 DefaultFilter 属性,配置级别 DynamicFilterInfo JSON 格式 - LayerStore 读取 defaultFilter 配置并在刷新时检测变化,变化时清除 WMTS 缓存 - FilterMerger 按 Field 级别合并 defaultFilter 与前端 Z_FILTER,前端同名字段优先 - WmsService.GetMapAsync / GetFeatureInfoAsync 均应用 FilterMerger 合并逻辑 - WmtsService 重构流程:先合并 filter 再计算缓存路径,日志输出合并后的 filter - WmtsService filterList/styleList 长度校验移到图层查询之后 - 新增 FilterMergerTests (15 个) 和 DefaultFilterTests (4 个) 覆盖边界条件
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.