Merge pull request #6783 from dataease/pr@dev-v2@fix_map-export

fix: 修复地图导出图片,PDF出现区域空白问题
This commit is contained in:
王嘉豪 2023-11-21 17:09:43 +08:00 committed by GitHub
commit 2efb7db320
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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'