-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lazy Load Data Points #7
Comments
Any implementation to filter the whole data will result in use of more CPU and RAM from USERs device which will considerably slow down. Its always a better idea to get the data dynamically by passing latitude longitude and letting server take the load for it. But If we can get district wise data may be this will be possible, but as more people mark it here more the load is going to be |
https://www.npmjs.com/package/geolib, but this is a solution I will work on it |
What is the initial window ? |
I don't understand |
Currently I don't load points unless they click on near me |
What should be the initial window , if I shouldn't be loading points |
We should zoom near to the location of the user and load those points. The zoom level should not be as close as the one which shows up when we click on the locate near me |
More than district, do we have zones/divisions of districts in kerala? That might narrow down further and reduce the load time. |
Yeah that is happening automatically, I am showing points near 10km radius |
But is initial window is empty now. I will give a pull request you let me know |
Create a branch called lazy loading |
intial commit on lazy loading #12 |
distance selection #17 |
Currently we get the entire data dump from the sever. This is expected to grow and considerably slows down the site.
We should load the data of the immediate surroundings first
The text was updated successfully, but these errors were encountered: