地图样式新增自定义分类
This commit is contained in:
@@ -37,6 +37,7 @@ interface StyleConfig {
|
||||
showLabels: boolean;
|
||||
opacity: number;
|
||||
adjustWidthByProperty: boolean;
|
||||
customBreaks: number[];
|
||||
}
|
||||
|
||||
interface LegendStyleConfig {
|
||||
@@ -98,6 +99,7 @@ const Toolbar: React.FC<ToolbarProps> = ({ hiddenButtons, queryType }) => {
|
||||
showLabels: false,
|
||||
opacity: 0.9,
|
||||
adjustWidthByProperty: true,
|
||||
customBreaks: [],
|
||||
},
|
||||
legendConfig: {
|
||||
layerId: "junctions",
|
||||
@@ -128,6 +130,7 @@ 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