fix(地图): 修复在数据大屏中,默认图表尺寸无法显示世界地图边界的问题

This commit is contained in:
jianneng-fit2cloud
2026-04-15 15:56:18 +08:00
committed by jianneng-fit2cloud
parent 4a03f599fa
commit aef94c8df8
2 changed files with 4 additions and 1 deletions

View File

@@ -132,6 +132,7 @@ export class BubbleMap extends L7PlotChartView<ChoroplethOptions, Choropleth> {
}
let options: ChoroplethOptions = {
preserveDrawingBuffer: true,
minZoom: -2,
map: {
type: 'mapbox',
style: 'blank'

View File

@@ -191,9 +191,11 @@ export class Map extends L7PlotChartView<ChoroplethOptions, Choropleth> {
}
let options: ChoroplethOptions = {
preserveDrawingBuffer: true,
minZoom: -2,
map: {
type: 'mapbox',
style: 'blank'
style: 'blank',
minZoom: -2
},
geoArea: {
type: 'geojson'