fix: 修复地图导出图片,PDF出现区域空白问题

This commit is contained in:
wangjiahao 2023-11-21 17:08:49 +08:00
parent 167f708ee6
commit 296c6de279

View File

@ -78,6 +78,7 @@ export class Map extends L7PlotChartView<ChoroplethOptions, Choropleth> {
}
const geoJson = cloneDeep(await getGeoJsonFile(areaId))
let options: ChoroplethOptions = {
preserveDrawingBuffer: true,
map: {
type: 'mapbox',
style: 'blank'