Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
comment out loading sample data in example app
Shan He966d698782c0
diff --git a/examples/demo-app/src/app.js b/examples/demo-app/src/app.jsindex bc61a6519..3e97d3179 100644--- a/examples/demo-app/src/app.js+++ b/examples/demo-app/src/app.js@@ -50,7 +50,7 @@ class App extends Component {componentDidMount() {// load sample data- this._loadSampleData();+ // this._loadSampleData();}_loadSampleData() {@@ -85,31 +85,31 @@ class App extends Component {);// load icon data and config and process csv file- // this.props.dispatch(- // addDataToMap({- // datasets: [- // {- // info: {- // label: 'Icon Data',- // id: 'test_icon_data'- // },- // data: Processors.processCsvData(sampleIconCsv)- // }- // ],- // options: {- // centerMap: false- // },- // config: savedMapConfig- // })- // );+ this.props.dispatch(+ addDataToMap({+ datasets: [+ {+ info: {+ label: 'Icon Data',+ id: 'test_icon_data'+ },+ data: Processors.processCsvData(sampleIconCsv)+ }+ ],+ options: {+ centerMap: false+ },+ config: savedMapConfig+ })+ );// load geojson- // this.props.dispatch(- // updateVisData({- // info: {label: 'SF Zip Geo'},- // data: Processors.processGeojson(sampleGeojson)- // })- // );+ this.props.dispatch(+ updateVisData({+ info: {label: 'SF Zip Geo'},+ data: Processors.processGeojson(sampleGeojson)+ })+ );}render() {