Commit e4ea9af9 authored by 皮倩雯's avatar 皮倩雯

方案默认值效果优化

parent 031708d5
Pipeline #59815 passed with stages
...@@ -179,7 +179,7 @@ const Map = props => { ...@@ -179,7 +179,7 @@ const Map = props => {
backgroundColor: setttings.backgroundColor || '#000000', backgroundColor: setttings.backgroundColor || '#000000',
backgroundOpacity: setttings.backgroundOpacity * 100 || '60', backgroundOpacity: setttings.backgroundOpacity * 100 || '60',
boundColor: setttings.boundColor || '#86C8F8', boundColor: setttings.boundColor || '#86C8F8',
boundWidth: parseInt(setttings.boundWidth) || '10', boundWidth: parseInt(setttings.boundWidth) || '5',
extent: setttings.extent, extent: setttings.extent,
schemename: setttings.schemename, schemename: setttings.schemename,
exportScheme: setttings.exportScheme || 'pandagis', exportScheme: setttings.exportScheme || 'pandagis',
...@@ -263,7 +263,7 @@ const Map = props => { ...@@ -263,7 +263,7 @@ const Map = props => {
mapRef.current.changeBackgroundOpacity('0.6'); mapRef.current.changeBackgroundOpacity('0.6');
} }
// if (!item.boundWidth) { // if (!item.boundWidth) {
// mapRef.current.changeBoundWidthValue('10px'); // mapRef.current.changeBoundWidthValue('5px');
// } // }
} }
}); });
...@@ -330,7 +330,7 @@ const Map = props => { ...@@ -330,7 +330,7 @@ const Map = props => {
backgroundColor: setttings.backgroundColor || '#000000', backgroundColor: setttings.backgroundColor || '#000000',
backgroundOpacity: setttings.backgroundOpacity * 100 || '60', backgroundOpacity: setttings.backgroundOpacity * 100 || '60',
boundColor: setttings.boundColor || '#86C8F8', boundColor: setttings.boundColor || '#86C8F8',
boundWidth: parseInt(setttings.boundWidth) || '10', boundWidth: parseInt(setttings.boundWidth) || '5',
extent: setttings.extent, extent: setttings.extent,
exportScheme: setttings.exportScheme || 'pandagis', exportScheme: setttings.exportScheme || 'pandagis',
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment