26 Commits

Author SHA1 Message Date
Javier Abadia
fa3680d66c change low level size reporting to bytes
the most accurate estimation si simply returning the string length... it matches with the estimated size (tile size * tile count) and with downloaded bytes reported by Chrome console
2014-02-10 18:06:32 +01:00
andygup
067423d2b0 more tweaking. Adjusted dbstore.size() functionality. 2014-02-08 19:45:56 -07:00
andygup
0295fc40c0 better, restored max zoom level. Tile counts still aren't correct for the lower number zoom levels. 2014-02-08 19:20:22 -07:00
andygup
151ea12612 added /utils subdir. Added debouncer util lib 2014-02-08 17:24:57 -07:00
andygup
03ff996ccb added some code comments for addtl clarification 2014-02-08 16:06:24 -07:00
andygup
3dd0ecb1fc general cleanup of offlineEnabler - remove old code snippets 2014-02-08 16:00:55 -07:00
andygup
f9c9c1e0b2 implemented callback handlers for getLevelEstimation 2014-02-08 15:57:01 -07:00
andygup
38a38aa4e6 first step in fixing tile size estimation. Number of tiles is consistent when div height/width doesn't change across various zoom levels. 2014-02-08 15:13:22 -07:00
Javier Abadia
64f8db149b trying to empty .files attribute after loading one file, so that repeated loading of the same file works (right now, the 'change' event is not fired, because if the file name is the same) 2014-01-29 09:52:11 +01:00
Javier Abadia
ba9aa30ce0 some comments, thanks Andy! 2014-01-24 14:16:00 +01:00
Javier Abadia
c7843dc458 comments 2014-01-24 14:14:50 +01:00
Javier Abadia
ea4e083d9d new method 2014-01-24 14:14:38 +01:00
andygup
4cdb3f2035 modified offlineEnabler.estimateTileSize to get slightly better numbers. 2014-01-22 22:33:40 -07:00
Javier Abadia
dad8ca5683 added error handling to file saving (don't know how to cause errors, so haven't been able to test properly) 2014-01-14 16:44:55 +01:00
Javier Abadia
5428192ad9 issues 2014-01-14 16:03:43 +01:00
Javier Abadia
6893366f57 need to do more cross-browser testing 2014-01-14 00:28:31 +01:00
Javier Abadia
9ef84be46d this check fails in Firefox... why was it needed? 2014-01-14 00:09:31 +01:00
Javier Abadia
e94f1b83f0 implemented load of tiles from csv file 2014-01-13 23:43:35 +01:00
Javier Abadia
fbcfaa05bb implemented saving of tiles to a csv file 2014-01-13 18:28:44 +01:00
Javier Abadia
39c4e84827 add buttons to save to file and load from file 2014-01-13 14:22:27 +01:00
Javier Abadia
ddbf16194b simplified progress reporting 2014-01-13 13:56:00 +01:00
Javier Abadia
4dae3ebd61 more issues to work on 2014-01-13 13:24:47 +01:00
andygup
c9d69a8cc9 fixes issue #35 2014-01-07 17:19:05 -07:00
Javier Abadia
e60af4e640 updated documentation in README.md 2014-01-04 19:35:14 +01:00
Javier Abadia
f28924bc30 fixing paths 2014-01-02 17:11:34 +01:00
Javier Abadia
11cb078d09 moved 'tiles' directory to 'lib' dir 2014-01-02 17:02:13 +01:00