keplergl / keplergl/kepler.gl

Loading spinner till the loaded dataset appears on the map

Open
#1,149 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
12k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
66

Description

Firstly, thanks for this marvelous work! I have a question that I hope someone can help me with.

I have a React app in which I mounted Kepler and load a dataset into `addDataToMap` function. When I run the app, the modal of `Add data` below appears for a few moments until the data appears on the map correctly.
![screenshot-localhost_3000-2020 06 11-20_45_46 (1)](https://user-images.githubusercontent.com/30727109/84428088-2c49f300-ac26-11ea-9f25-f617138037c0.png)

1. Is there a way to change the content in this modal like for example to add a loading spinner? or is there a function or property to override it in order to do so?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the addDataToMap flow and the Add data modal mentioned in the issue to determine where loading state and modal content are controlled. Done would be a clearly supported way to show a loading spinner or override that modal while the dataset is being loaded.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.