删除 customBreaks
This commit is contained in:
@@ -47,7 +47,7 @@ interface StyleConfig {
|
||||
showLabels: boolean;
|
||||
opacity: number;
|
||||
adjustWidthByProperty: boolean; // 是否根据属性调整线条宽度
|
||||
customBreaks: number[]; // 自定义断点(用于 custom_breaks)
|
||||
customBreaks?: number[]; // 自定义断点(用于 custom_breaks)
|
||||
}
|
||||
|
||||
// 图层样式状态接口
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user