From 1e371bccdc9f815bcf0db2787bfa6e943518e393 Mon Sep 17 00:00:00 2001 From: wisonic Date: Thu, 24 Oct 2024 16:20:02 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=9B=BE=E8=A1=A8):=20=E7=AC=A6=E5=8F=B7?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E6=94=AF=E6=8C=81=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E7=AC=A6=E5=8F=B7=20#10408?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/models/chart/chart-attr.d.ts | 4 + .../components/BasicStyleSelector.vue | 220 ++++++++++++++++-- .../js/panel/charts/map/symbolic-map.ts | 100 +++++--- .../components/js/panel/types/impl/l7.ts | 18 +- .../src/views/chart/components/js/util.ts | 11 + .../views/components/ChartComponentG2Plot.vue | 1 - 6 files changed, 296 insertions(+), 58 deletions(-) diff --git a/core/core-frontend/src/models/chart/chart-attr.d.ts b/core/core-frontend/src/models/chart/chart-attr.d.ts index 6b73e6dc25..12a80eea14 100644 --- a/core/core-frontend/src/models/chart/chart-attr.d.ts +++ b/core/core-frontend/src/models/chart/chart-attr.d.ts @@ -318,6 +318,10 @@ declare interface ChartBasicStyle { * 缩放等级 */ zoomLevel: number + /** + * 符号地图自定义符号形状 + */ + customIcon: string } /** * 表头属性 diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/components/BasicStyleSelector.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/components/BasicStyleSelector.vue index 57e155178e..a96b0f9656 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-style/components/BasicStyleSelector.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-style/components/BasicStyleSelector.vue @@ -1,18 +1,20 @@