mirror of
https://github.com/dataease/dataease.git
synced 2026-05-14 04:12:11 +08:00
fix(地图): 修复在数据大屏中,默认图表尺寸无法显示世界地图边界的问题
This commit is contained in:
committed by
jianneng-fit2cloud
parent
4a03f599fa
commit
aef94c8df8
@@ -132,6 +132,7 @@ export class BubbleMap extends L7PlotChartView<ChoroplethOptions, Choropleth> {
|
||||
}
|
||||
let options: ChoroplethOptions = {
|
||||
preserveDrawingBuffer: true,
|
||||
minZoom: -2,
|
||||
map: {
|
||||
type: 'mapbox',
|
||||
style: 'blank'
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user