Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
fix: exported html map loads blank (#3610)
Igor Dykhtac99fc4322f19
diff --git a/src/utils/src/export-map-html.ts b/src/utils/src/export-map-html.tsindex c4dd6a738..c79b66347 100644--- a/src/utils/src/export-map-html.ts+++ b/src/utils/src/export-map-html.ts@@ -84,10 +84,10 @@ export const exportMapToHTML = (options, version = KEPLER_GL_VERSION) => {// Trigger es-module-shims "shim mode" so it always parses the// importmap-shim / module-shim tags below instead of deferring to the// native loader (which fails under file://).- window.esmsInitOptions = {shimMode: true, version: '${ES_MODULE_SHIMS_VERSION}'};+ window.esmsInitOptions = {shimMode: true};</script>- <script async src="https://ga.jspm.io/npm:es-module-shims@${ES_MODULE_SHIMS_VERSION}/dist/es-module-shims.js" crossorigin="anonymous"></script>-+ <script src="https://unpkg.com/es-module-shims@${ES_MODULE_SHIMS_VERSION}/dist/es-module-shims.js" crossorigin="anonymous"></script>+<script type="importmap-shim">{"imports": {