66 Commits

Author SHA1 Message Date
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
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
5e4589e2d3 cleaner code 2014-01-30 16:53:13 +01:00
Javier Abadia
2eadaae362 better feedback for replayStoredEdits() 2014-01-30 16:40:47 +01:00
Javier Abadia
5f82c3f514 bug that made the app fail when reloading the app with pending edits 2014-01-30 15:09:59 +01:00
Javier Abadia
fcfde60396 fixed the local updating of graphics for offline edits... now working! 2014-01-29 18:32:51 +01:00
Javier Abadia
f45c190dc7 small typo 2014-01-29 09:52:12 +01: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
d5d118df0b connectivity indicator 2014-01-28 23:20:40 +01:00
Javier Abadia
09c59f8595 renamed offlineFeatureService to offlineFeaturesManager 2014-01-28 23:20:40 +01:00
Javier Abadia
47136fb7c5 better name for loader div that hides the FOUC (flash of unformatted content) before parser.parse() does it's job 2014-01-28 23:20:39 +01:00
Javier Abadia
4c78211262 this apparently innocent attribute made the parser.parse() call fail and dojo didn't apply layout to widgets 2014-01-28 23:20:39 +01:00
Javier Abadia
1f2c10e0ea prevent attributeEditor to appear after replaying the stored edits
be careful with updates for features added offline (replace tmp id by final id), (ongoing)
2014-01-28 23:20:39 +01:00
Javier Abadia
fc7f3b1e80 slightly better layout 2014-01-28 23:20:38 +01:00
Javier Abadia
909fa47549 use layer url as layer id (it's unique across different FeatureServices and it's persistent across different sessions) 2014-01-28 23:20:38 +01:00
Javier Abadia
6b9a4a91dd code cleaning 2014-01-28 23:20:37 +01:00
Javier Abadia
a7b2705803 it's starting to work 2014-01-28 23:20:37 +01:00
Javier Abadia
e0e495ef67 keep working in edit sample 2014-01-28 23:20:37 +01:00
Javier Abadia
8b32f1c96e adding offline capability to new sample 2014-01-28 23:20:37 +01:00
Javier Abadia
01d30235d5 just three layers 2014-01-28 23:20:37 +01:00
Javier Abadia
7818d9a19d simple editor working 2014-01-28 23:20:36 +01:00
Javier Abadia
c8196edb6e new edit sample from scratch 2014-01-28 23:20:36 +01:00
Javier Abadia
c9c0a0bfe9 tool to inspect feature service and local editsStore 2014-01-28 23:20:36 +01:00
Javier Abadia
5df1cfebf6 app to inspect status of services 2014-01-28 23:20:36 +01:00
andygup
4f6ee9e518 Fixes issue #54 2014-01-27 18:04:38 -07:00
andygup
4cdb3f2035 modified offlineEnabler.estimateTileSize to get slightly better numbers. 2014-01-22 22:33:40 -07:00
Javier Abadia
221d790705 fixed proxy path 2014-01-22 00:19:44 +01:00
Javier Abadia
4961e62f56 minimal changes to make everything AMD compliant 2014-01-22 00:19:44 +01:00
Javier Abadia
84a0690902 refactored common code in one function 2014-01-18 21:58:23 +01:00
Javier Abadia
ce6e8ff391 better string concatenation 2014-01-18 21:51:00 +01:00
Javier Abadia
174ac112a7 changed for(in) to for(i;i<n;i++), see http://stackoverflow.com/questions/500504/why-is-using-for-in-with-array-iteration-such-a-bad-idea 2014-01-18 20:16:42 +01:00
Javier Abadia
6e08c15e19 use strict 2014-01-18 20:15:36 +01:00
andygup
c5e2742045 more changes to stability temp store undo functionality 2014-01-17 15:50:01 -07:00
andygup
593eb57ec4 Initial restructing of _reestablishInternet() and it’s related functionality. 2014-01-17 09:12:34 -07:00
andygup
5452dc7373 Fixed bug that prevent temp store deletes when multiple edits were cached. 2014-01-14 17:51:41 -07:00
andygup
fa1a50eb71 Fixed another undo bug. 2014-01-14 17:15:58 -07:00
andygup
3c1608054e Many edits to prepare for edit undo functionality. 2014-01-14 15:55:20 -07:00
andygup
5699d417e0 More changes related to handling rollback of an edit. Plus fixes for applyEdit bugs. Some changes were lost related to a corruption in my local git. 2014-01-14 12:00:33 -07:00
Javier Abadia
e0d173f55f this sample has been merged into the samples/tiles sample, and save/load functionality is now part of the library 2014-01-14 16:05:33 +01:00
Javier Abadia
de1cd8afa8 better style for "Load" button 2014-01-14 09:02:51 +01:00
Javier Abadia
e94f1b83f0 implemented load of tiles from csv file 2014-01-13 23:43:35 +01:00
Javier Abadia
220a9476c0 buttons below the map 2014-01-13 22:53:21 +01:00
Javier Abadia
e152a5d716 initial state of button 2014-01-13 22:38:33 +01:00
Javier Abadia
8ec1760770 buttons on top 2014-01-13 18:38:21 +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
andygup
2aba3c7e03 more infrastructure to support rollback of an offline edit 2014-01-12 22:31:00 -07:00
andygup
d9efc11592 Closes #40. Also added tests to support that issue. 2014-01-10 18:20:54 -07:00
andygup
0ae10f89b4 rewrote event bus in OfflineStore 2014-01-09 18:07:13 -07:00