feat: 添加默认关闭的必应备用底图

This commit is contained in:
RBP15P
2026-09-10 09:43:54 +08:00
parent 15e6f621b6
commit 5d0293f9b4
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -8,3 +8,4 @@ source/*
output/
output_*/
tmp/
aidocs/
BIN
View File
Binary file not shown.
+3 -1
View File
@@ -443,8 +443,10 @@ class QgisProjectTest(unittest.TestCase):
tree_layers = project.findall("./layer-tree-group/layer-tree-layer")
self.assertEqual(
[item.get("name") for item in tree_layers],
["CellData", Path(main.COMPETITOR_SIGNAL_OUTPUT_FILENAME).stem, "用户量", "BuildInfo", "GoogleCN"],
["CellData", Path(main.COMPETITOR_SIGNAL_OUTPUT_FILENAME).stem, "用户量", "BuildInfo", "GoogleCN", "必应地图"],
)
self.assertEqual(tree_layers[-2].get("checked"), "Qt::Checked")
self.assertEqual(tree_layers[-1].get("checked"), "Qt::Unchecked")
cell_layer = next(
item
for item in project.findall(".//projectlayers/maplayer")