Skip to content

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.

[Bug] Fix screenshot with images (#1558)

Jan Žák5985d20140fd
diff --git a/src/utils/dom-to-image.js b/src/utils/dom-to-image.js
index 782cbefb5..2f02728b3 100644
--- a/src/utils/dom-to-image.js
+++ b/src/utils/dom-to-image.js
@@ -473,7 +473,7 @@ function newImages() {
function newImage(element) {
function inline(get) {
- if (element.src) {
+ if (isDataUrl(element.src)) {
return Promise.resolve();
}
return Promise.resolve(element.src)