删除 customBreaks

This commit is contained in:
JIANG
2025-11-17 17:33:30 +08:00
parent 55d41a127d
commit d91e618559
2 changed files with 1 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ interface StyleConfig {
showLabels: boolean;
opacity: number;
adjustWidthByProperty: boolean; // 是否根据属性调整线条宽度
customBreaks: number[]; // 自定义断点(用于 custom_breaks
customBreaks?: number[]; // 自定义断点(用于 custom_breaks
}
// 图层样式状态接口

View File

@@ -37,7 +37,6 @@ interface StyleConfig {
showLabels: boolean;
opacity: number;
adjustWidthByProperty: boolean;
customBreaks: number[];
}
interface LegendStyleConfig {
@@ -99,7 +98,6 @@ const Toolbar: React.FC<ToolbarProps> = ({ hiddenButtons, queryType }) => {
showLabels: false,
opacity: 0.9,
adjustWidthByProperty: true,
customBreaks: [],
},
legendConfig: {
layerId: "junctions",
@@ -130,7 +128,6 @@ const Toolbar: React.FC<ToolbarProps> = ({ hiddenButtons, queryType }) => {
showLabels: false,
opacity: 0.9,
adjustWidthByProperty: true,
customBreaks: [],
},
legendConfig: {
layerId: "pipes",