修改添加gsojson的isdefault,方便重置场景

This commit is contained in:
wzy-warehouse
2026-04-14 17:05:27 +08:00
parent d6f488bb3e
commit df1fb2aea3
8 changed files with 12 additions and 9 deletions
+1 -1
View File
@@ -19,9 +19,9 @@
const layerConfigs = areasId.map((id, index) => ({
layerId: id,
geojsonData: areas[index],
isDefault: true,
options: {
showName: true,
isDefault: true,
labelStyle: {
labelText: areas[index].features[0].properties.name,
center: [