RandomFractals / geo-data-viewer

Geo Data Analytics tool for VSCode IDE with kepler.gl support to generate and view maps πŸ—ΊοΈ without any Python 🐍, IPyWidgets βš™οΈ, pandas 🐼, Jupyter notebooks πŸ“š, or ReactJS βš›οΈ app code.
https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.geo-data-viewer
Apache License 2.0
408 stars 44 forks source link

remove add data kepler.gl modal dialog since we load it from opened vscode geo data text documents #38

Closed RandomFractals closed 4 years ago

RandomFractals commented 4 years ago

need to disable add data popup on initial map view load since we already load csv, geojson and map config via custom umd js calls.

Just need to get rid of that modal, but have it available for adding more data later. see map.view.js for more info on the data loading parts ...

https://github.com/RandomFractals/geo-data-viewer/blob/master/web/scripts/map.view.js#L165

heshan0131 commented 4 years ago

if you want to get rid of the modal on initial render use

const customReducer = keplerGlReducer.initialState({
  uiState: {
     currentModal: null
  }
});