提交 421f54eb 编写于 作者: P pissang

fix: disable decal on symbol

上级 a5fb2fd2
...@@ -291,6 +291,8 @@ class Symbol extends graphic.Group { ...@@ -291,6 +291,8 @@ class Symbol extends graphic.Group {
else { else {
symbolPath.useStyle(symbolStyle); symbolPath.useStyle(symbolStyle);
} }
// Disable decal because symbol scale will been applied on the decal.
symbolPath.style.decal = null;
symbolPath.setColor(visualColor, opts && opts.symbolInnerColor); symbolPath.setColor(visualColor, opts && opts.symbolInnerColor);
symbolPath.style.strokeNoScale = true; symbolPath.style.strokeNoScale = true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册