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
Andy
795b8d45cb
Merge pull request #67 from jabadia/jabadia-devel
...
jabadia - go offline/online automatically using the offline detection lib
2014-02-09 16:01:07 -07:00
Javier Abadia
484562b1c5
fixed unit test after changing feedback methods
2014-02-09 23:45:04 +01:00
Javier Abadia
236fec392c
tests are not done until the callbacks return
2014-02-09 23:28:11 +01:00
Javier Abadia
0a0d83b184
if we have pending edits from previous executions and we are online, then try to replay them
2014-02-09 19:47:54 +01:00
Javier Abadia
88042d1afd
go Offline/Online automatically, using offline detection library
2014-02-09 19:28:36 +01:00
Javier Abadia
94e58f9575
the offline detector lib is not used here
2014-02-09 19:26:25 +01:00
andygup
067423d2b0
more tweaking. Adjusted dbstore.size() functionality.
2014-02-08 19:45:56 -07:00
andygup
9a0168543e
swapped out min zoom level == current zoom level. Now tiles numbers per zoom level 'seem' to be matching up better to what is expected.
2014-02-08 19:28:46 -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
2ace73e5c1
current zoom level now sets max extent. We need to investigate this work flow further.
2014-02-08 18:24:16 -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
Andy
cd89600f7d
Merge pull request #64 from jabadia/jabadia-undo-redo
...
jabadia: undo redo
2014-02-04 15:49:50 -08:00
Javier Abadia
678eb7c506
undo/redo done!
2014-02-05 00:17:38 +01:00
Javier Abadia
79d1d6d00b
we execute the post-edit sequence in the next round of javascript events... this is important because some application level code (for instance the undo manager) assumes that events will not be fired immediately
2014-02-05 00:08:25 +01:00
Javier Abadia
d8c69da02a
removed check for duplicate edits, they actually make sense in a repeated undo/redo scenario
2014-02-05 00:06:48 +01:00
Javier Abadia
d202078da3
enable undo/redo in editor, need to test further
2014-02-04 23:22:46 +01:00
Javier Abadia
7a0470f152
removed some messages
2014-02-04 23:09:27 +01:00
Javier Abadia
cb6d15baf3
fixed problem when all edits cancel themselves
2014-02-04 23:09:27 +01:00
Javier Abadia
75596e1b39
unit test for problem fix
2014-02-04 23:09:27 +01:00
Javier Abadia
f6f9483e10
problem found
2014-02-04 23:09:27 +01:00
Andy
0f5ebdd51f
Merge pull request #63 from jabadia/jabadia-fix-errors
...
jabadia fix errors
2014-02-04 08:55:48 -08:00
Javier Abadia
ea17b7af46
better handling of pushEdit() errors
2014-02-04 11:54:02 +01:00
Javier Abadia
8c05c4c966
method not needed (and unit test neither)
2014-02-04 11:52:24 +01:00
Javier Abadia
9036dbcbc1
removed undo/redo support at low level
2014-02-04 11:52:12 +01:00
Javier Abadia
9c514fe933
slightly better presentation
2014-02-03 11:34:43 +01:00
Javier Abadia
01380b1465
update task list
2014-02-03 11:05:43 +01:00
Javier Abadia
050934642f
safe use of for...in to iterate over object keys
2014-02-03 11:04:29 +01:00
Andy
ac19b9704c
Merge pull request #62 from jabadia/jabadia-queue-optimization
...
jabadia - edit queue optimization - please accept #61 before
2014-02-02 22:46:27 -08:00
Andy
3f35e05ccd
Merge pull request #61 from jabadia/jabadia-devel
...
jabadia - unit testing of offlineFeaturesManager
2014-02-02 22:33:12 -08:00
Javier Abadia
d6ef178792
queue optimization and return server responses to upper level code
2014-02-02 19:42:10 +01:00
Javier Abadia
11f2f0adaf
constants for events, it makes easier to know what events can be emitted and what they mean
2014-02-02 19:41:10 +01:00
Javier Abadia
8ede3c77dc
comments
...
clean unused code
2014-02-02 12:00:44 +01:00
Javier Abadia
70750e3b19
better handling of emitted events
2014-02-02 11:50:13 +01:00
Javier Abadia
864340d62a
cleaner code
2014-02-02 11:23:03 +01:00
Javier Abadia
93dac25947
it works!
2014-02-02 11:08:05 +01:00
Javier Abadia
8c0e8f79b2
optimizing the edits queue... work in progress
2014-02-01 19:04:33 +01:00
Javier Abadia
53bd67ad57
unit testing now includes edits for another layer
2014-02-01 19:04:17 +01:00
Javier Abadia
2b702d5744
clarify meaning of states
2014-02-01 19:03:00 +01:00
Javier Abadia
a29db33c5e
log of local layer objectids
2014-02-01 16:28:33 +01:00
Javier Abadia
79f1eb1a59
button to clear featurelayers
2014-02-01 16:28:16 +01:00
Javier Abadia
742f641ff8
test for graphic objectids in local layer
2014-02-01 16:28:01 +01:00
Javier Abadia
46370e16e8
some tests pending
2014-01-31 01:27:29 +01:00
Javier Abadia
ca3a0fe806
good progress in unit testing
2014-01-31 01:00:01 +01:00
Javier Abadia
842f35a2b1
unit testing for offlineFeaturesManager
2014-01-30 18:26:46 +01:00
Andy
0393decbaa
Merge pull request #60 from jabadia/jabadia-new-sample
...
bug that made the app fail when reloading the app with pending edits
2014-01-30 08:56:53 -08:00