Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
[fix] exported image has a thin white bar at the bottom (#2241)
Igor D88dd4b36c945
diff --git a/src/components/src/plot-container.tsx b/src/components/src/plot-container.tsxindex c28f009a3..fe1444d30 100644--- a/src/components/src/plot-container.tsx+++ b/src/components/src/plot-container.tsx@@ -159,7 +159,12 @@ export default function PlotContainerFactory(_retrieveNewScreenshot = () => {if (this.plottingAreaRef.current) {- convertToPng(this.plottingAreaRef.current, {filter: DOM_FILTER_FUNC})+ const {imageSize} = this.props.exportImageSetting;+ convertToPng(this.plottingAreaRef.current, {+ filter: DOM_FILTER_FUNC,+ width: imageSize.imageW,+ height: imageSize.imageH+ }).then(this.props.setExportImageDataUri).catch(err => {this.props.setExportImageError(err);