删除 customBreaks
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 图层样式状态接口
|
// 图层样式状态接口
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user