Skip to content

Commit

Permalink
fix(visualMap): remove unnecessary logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Mar 31, 2021
1 parent c9e7001 commit a95ff6a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/component/visualMap/VisualMapView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,6 @@ class VisualMapView extends ComponentView {
const visualObj: {[key in typeof visualCluster]?: VisualOptionUnit[key]} = {};

// Default values.
if (visualCluster === 'symbol') {
visualObj.symbol = visualMapModel.getItemSymbol();
}
if (visualCluster === 'color') {
const defaultColor = visualMapModel.get('contentColor');
visualObj.color = defaultColor as ColorString;
Expand Down

0 comments on commit a95ff6a

Please sign in to comment.