andygup
0d1baa2422
added error handling to estimateTileSize()
2014-04-01 15:15:57 -06:00
andygup
fd91127b2d
added assert statement to detect if img is undefined
2014-03-31 18:09:35 -06:00
andygup
b9b5b550ce
removed getTileUrl() call
2014-03-31 17:34:12 -06:00
andygup
154bfb115c
tweaked and renamed getTileUrls to getTileUrlsByExtent to prevent confusion with getTileUrl override
2014-03-30 17:31:00 -06:00
andygup
b02cfdfc8a
fixed minor bugs in new helper methods
2014-03-30 17:01:15 -06:00
andygup
bf86761554
added getExtentBuffer and getTileUrls to offlineTileEnabler
2014-03-30 16:46:09 -06:00
andygup
b8093738fc
fixed broken license link
2014-03-12 01:29:46 -06:00
andygup
e5b83c7cf7
Added link to the MIT license
2014-03-12 01:16:40 -06:00
andygup
3fe404f429
added MIT license and readme for FileSaver.js
2014-03-12 01:11:40 -06:00
Andy
4e433ed575
Merge pull request #130 from jabadia/jabadia-smaller-font
...
smaller font
2014-03-02 10:11:30 -07:00
Javier Abadia
04e82eb8d3
smaller font
2014-03-02 18:03:35 +01:00
Javier Abadia
2e766176b0
Convert offlineTileEnabler to a Class
...
closes #124
2014-03-02 17:50:53 +01:00
Andy
4a7f48568c
Merge pull request #128 from jabadia/nodata-tile
...
display a generic "no data" tile for tiles not present in the cache
2014-03-02 09:36:32 -07:00
Javier Abadia
a1cfc76ca2
display a generic "no data" tile for tiles not present in the cache
...
closes #117
2014-03-02 17:18:26 +01:00
Javier Abadia
ab05a7661e
improving phantom graphics symbology
2014-03-02 15:48:49 +01:00
Javier Abadia
76fd8e9270
improve return values in tile manager reportProgress callback
...
closes #114
2014-02-27 23:21:38 +01:00
andygup
6eb12ebd12
fixes default proxy paths.
2014-02-26 13:41:45 -07:00
Javier Abadia
2dd59fe281
use of proxy is now optional
2014-02-25 12:40:30 +01:00
Javier Abadia
1f6372eef5
now we should never receive NaN values anymore
2014-02-24 00:21:25 +01:00
Javier Abadia
f44da88cab
two simple changes (although diff seems more complex)
...
- layer.resampling = false
- temp url is now void:/level/row/col, as tiledlayer code seems to split the returned url by '/' to get level row and col values
2014-02-24 00:16:20 +01:00
andygup
e2c8352964
initial fix for ArcGIS 3.8 and offline detector v0.6 errors
2014-02-21 17:57:49 -07:00
andygup
073ec191af
1st modification of getTileUrl
2014-02-21 17:25:07 -07:00
andygup
ab140f1d45
globally changed tabs to spaces
2014-02-21 16:26:46 -07:00
andygup
f107486aea
code comments for offlineTilesEnabler
2014-02-20 16:04:54 -07:00
Javier Abadia
bf3e419b05
changed name of private methods
2014-02-18 10:30:05 +01:00
Javier Abadia
8d7ef26efc
renamed offlineEnabler to offlineTilesEnabler
2014-02-18 09:21:11 +01:00
Javier Abadia
43fdc0ead0
removed unused dependency
2014-02-17 23:45:19 +01:00
Javier Abadia
7bd5335d85
remove unused files
2014-02-17 23:42:32 +01:00
Javier Abadia
99d8843826
this minimizes the problem of the tile count estimation table not updating sometimes
...
the array of urls is not needed (only one tile url)
2014-02-10 18:13:30 +01:00
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