Merge pull request #12940 from dataease/prdev-v2@chart-symbolic-map-fix

fix(图表): 修复符号地图配置图形样式无效的问题
This commit is contained in:
jianneng-fit2cloud 2024-10-28 15:50:16 +08:00 committed by GitHub
commit a4a9523b10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -276,6 +276,7 @@ export class SymbolicMap extends L7ChartView<Scene, L7Config> {
await scene.addImage(`customIcon`, svgStrToUrl(svgEle.outerHTML))
pointLayer.shape('customIcon')
} else {
pointLayer.shape(mapSymbol)
pointLayer.color(colorsWithAlpha[0])
pointLayer.style({
stroke: colorsWithAlpha[0],