Skip to content

Commit

Permalink
fix 修改dv面专题图图例颜色不显示的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxianhuii committed Jul 4, 2024
1 parent d14898d commit fee6215
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mapboxgl/web-map/control/legend/subs/StyleRenderer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ export default {
this.drawLines(canvas, ctx);
break;
}
case 'fill':
case 'rectangle': {
const { color, backgroundColor = color, outlineColor = backgroundColor } = this.styleRendererData;
ctx.fillStyle = backgroundColor;
Expand Down

0 comments on commit fee6215

Please sign in to comment.