Skip to content
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

Progressive loader won't load earlier dates #104

Open
GoogleCodeExporter opened this issue Mar 28, 2016 · 0 comments
Open

Progressive loader won't load earlier dates #104

GoogleCodeExporter opened this issue Mar 28, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

See 
http://groups.google.com/group/timemap-development/browse_thread/thread/d18cc455
e924bea5?hl=en

When we drag back the timeline, the previous block never loads.
i just inverse the > in < on line 136-137 in progessive.js
and it works now ^^

           // are we close enough to load the previous block, and is
it loaded?
           if (prevBlockTime < band.getMinDate().getTime() &&
               (!dataMinDate || prevBlockTime <
dataMinDate.getTime()) &&
               !loaded[currBlock - 1]) {
               // load previous block
               // console.log("loading prev block (" + (currBlock -
1)  + ")");
               loader.load(dataset, callback, new
Date(prevBlockTime), currBlock - 1);
           }

Original issue reported on code.google.com by nick.rab...@gmail.com on 25 Oct 2011 at 5:58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant