From abf8bcac20c8239bb442b9c4b1ac0b45a3dc0add Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Wed, 7 Aug 2024 10:58:59 +0800 Subject: [PATCH] =?UTF-8?q?style(=E5=9B=BE=E8=A1=A8):=20=E6=B0=94=E6=B3=A1?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/panel/charts/map/bubble-map.ts | 27 ++++++++++++------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/map/bubble-map.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/map/bubble-map.ts index 1aa9da276b..d00b9f9ea8 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/map/bubble-map.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/map/bubble-map.ts @@ -1,19 +1,26 @@ -import {useI18n} from '@/hooks/web/useI18n' -import {L7PlotChartView, L7PlotDrawOptions} from '@/views/chart/components/js/panel/types/impl/l7plot' -import {Choropleth, ChoroplethOptions} from '@antv/l7plot/dist/esm/plots/choropleth' -import {Dot, DotOptions, IPlotLayer} from '@antv/l7plot' +import { useI18n } from '@/hooks/web/useI18n' +import { + L7PlotChartView, + L7PlotDrawOptions +} from '@/views/chart/components/js/panel/types/impl/l7plot' +import { Choropleth, ChoroplethOptions } from '@antv/l7plot/dist/esm/plots/choropleth' +import { Dot, DotOptions, IPlotLayer } from '@antv/l7plot' import { MAP_AXIS_TYPE, MAP_EDITOR_PROPERTY, MAP_EDITOR_PROPERTY_INNER, MapMouseEvent } from '@/views/chart/components/js/panel/charts/map/common' -import {flow, getGeoJsonFile, hexColorToRGBA, parseJson} from '@/views/chart/components/js/util' -import {cloneDeep} from 'lodash-es' -import {FeatureCollection} from '@antv/l7plot/dist/esm/plots/choropleth/types' -import {handleGeoJson, mapRendered, mapRendering} from '@/views/chart/components/js/panel/common/common_antv' -import {valueFormatter} from '@/views/chart/components/js/formatter' -import {deepCopy} from '@/utils/utils' +import { flow, getGeoJsonFile, hexColorToRGBA, parseJson } from '@/views/chart/components/js/util' +import { cloneDeep } from 'lodash-es' +import { FeatureCollection } from '@antv/l7plot/dist/esm/plots/choropleth/types' +import { + handleGeoJson, + mapRendered, + mapRendering +} from '@/views/chart/components/js/panel/common/common_antv' +import { valueFormatter } from '@/views/chart/components/js/formatter' +import { deepCopy } from '@/utils/utils' const { t } = useI18n()