删除 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; showLabels: boolean;
opacity: number; opacity: number;
adjustWidthByProperty: boolean; // 是否根据属性调整线条宽度 adjustWidthByProperty: boolean; // 是否根据属性调整线条宽度
customBreaks: number[]; // 自定义断点(用于 custom_breaks customBreaks?: number[]; // 自定义断点(用于 custom_breaks
} }
// 图层样式状态接口 // 图层样式状态接口

View File

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