Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
[Website] disable banner (#1252)
Shan He3e40a48c27ce
diff --git a/examples/demo-app/src/app.js b/examples/demo-app/src/app.jsindex 730c83b9e..1c297c398 100644--- a/examples/demo-app/src/app.js+++ b/examples/demo-app/src/app.js@@ -132,9 +132,9 @@ class App extends Component {}// delay zs to show the banner- if (!window.localStorage.getItem(BannerKey)) {- window.setTimeout(this._showBanner, 3000);- }+ // if (!window.localStorage.getItem(BannerKey)) {+ // window.setTimeout(this._showBanner, 3000);+ // }// load sample data// this._loadSampleData();diff --git a/src/utils/split-map-utils.js b/src/utils/split-map-utils.jsindex 82acc1a59..7acaf39a5 100644--- a/src/utils/split-map-utils.js+++ b/src/utils/split-map-utils.js@@ -42,7 +42,7 @@ export function addNewLayersToSplitMap(splitMaps, layers) {...newLayers.reduce((accu, newLayer) =>// @ts-ignore- [newLayer.id] in settings.layers || !newLayer.config.isVisible+ newLayer.id in settings.layers || !newLayer.config.isVisible? accu: {...accu,diff --git a/website/src/components/home.js b/website/src/components/home.jsindex d19be176f..b862e11ff 100644--- a/website/src/components/home.js+++ b/website/src/components/home.js@@ -55,9 +55,9 @@ export default class Home extends PureComponent {componentDidMount() {// delay 2s to show the banner- if (!window.localStorage.getItem(BannerKey)) {- window.setTimeout(this._showBanner, 3000);- }+ // if (!window.localStorage.getItem(BannerKey)) {+ // window.setTimeout(this._showBanner, 3000);+ // }}_showBanner = () => {