Andy Gup
|
86f7e334a1
|
fixed bug. Now properly traps undefined results
|
2014-05-23 16:05:30 -06:00 |
|
Andy Gup
|
c1c2d25efd
|
detect undefined values and handle
|
2014-05-23 15:54:49 -06:00 |
|
Andy Gup
|
3ab861ae5e
|
fixed callback
|
2014-05-23 13:45:38 -06:00 |
|
Andy Gup
|
8a8ab6c4d4
|
removed unused code
|
2014-05-23 12:23:36 -06:00 |
|
Andy Gup
|
73ae81b376
|
removed unused code
|
2014-05-23 12:16:16 -06:00 |
|
Andy Gup
|
4b0d307091
|
more tweaking of parser scope
|
2014-05-23 12:14:16 -06:00 |
|
Andy Gup
|
7a978ef385
|
minor code comment fix
|
2014-05-23 11:10:30 -06:00 |
|
Andy Gup
|
654cf717ee
|
fixed scope bug
|
2014-05-23 11:09:56 -06:00 |
|
Andy Gup
|
ca8ec8e48a
|
added error handler
|
2014-05-23 09:56:16 -06:00 |
|
Andy Gup
|
b67221b961
|
fixed how scope is passed.
|
2014-05-22 17:35:57 -06:00 |
|
Andy Gup
|
5bc05ac51f
|
added no support err
|
2014-05-22 12:57:29 -06:00 |
|
Andy Gup
|
459351349f
|
added db init error
|
2014-05-22 12:48:24 -06:00 |
|
Andy Gup
|
6a8c1e2a95
|
minor tweaks
|
2014-05-22 11:25:15 -06:00 |
|
Andy Gup
|
bf582bffff
|
added licensing readme for /tpk
|
2014-05-22 11:25:01 -06:00 |
|
Andy Gup
|
5afc3b2a90
|
added andygup.github.io access to proxy
|
2014-05-21 17:22:23 -06:00 |
|
Andy Gup
|
643f6ed675
|
deleted DataStream.js. No longer used.
|
2014-05-21 16:36:07 -06:00 |
|
Andy Gup
|
6a1575d8a7
|
rolled in all changes from staging
|
2014-05-21 16:35:01 -06:00 |
|
Andy Gup
|
dbb0d57081
|
rolled in all changes from staging
|
2014-05-21 16:34:41 -06:00 |
|
Andy Gup
|
fb7241dae0
|
Merge branch 'master' into tpk_layer
|
2014-05-21 16:26:46 -06:00 |
|
Javier Abadia
|
873d8f9339
|
No matter what jshint says, these are not really properties, but string-indexed elements. We access them later with a string index that comes in the geometry.type property. I believe the code is clearer this way.
|
2014-05-17 17:30:56 +02:00 |
|
Matt Driscoll
|
a44157ffeb
|
jshint files. Some still need some work but I didn't want to break anything.
|
2014-05-15 16:01:51 -07:00 |
|
Andy Gup
|
70ced76d79
|
remove reader functions
|
2014-05-14 11:57:20 -06:00 |
|
Andy Gup
|
1ed8c527bf
|
use arraybuffer for inMemTiles
|
2014-05-14 10:02:43 -06:00 |
|
Andy Gup
|
5828d19412
|
added libraries associated with TPKLayer.js
|
2014-05-13 17:23:37 -06:00 |
|
Javier Abadia
|
fb063666e1
|
refactored promises
|
2014-04-29 17:59:10 +02:00 |
|
Javier Abadia
|
a201620e26
|
fixed offline attachments unit tests (proxy thing)
|
2014-04-29 00:13:19 +02:00 |
|
Javier Abadia
|
b467e439b5
|
reworked attachments-editor.html sample
|
2014-04-28 01:00:55 +02:00 |
|
Javier Abadia
|
8919ed60bb
|
this caused one test to fail
remember, attachments management is optional
|
2014-04-27 22:37:24 +02:00 |
|
Javier Abadia
|
33be209b85
|
refactored reading of files into attachmentStore.js
much simpler and nice!
|
2014-04-27 22:37:23 +02:00 |
|
Javier Abadia
|
d2e3d13823
|
now, all attachment URLs are correctly revoked
|
2014-04-27 22:37:23 +02:00 |
|
Javier Abadia
|
d5c106fa14
|
first step into refactoring attachmentsStore.js
|
2014-04-27 22:37:23 +02:00 |
|
Javier Abadia
|
02f913bb43
|
replace the default URL that is set by attachmentEditor with the local file URL
|
2014-04-27 22:37:23 +02:00 |
|
Javier Abadia
|
611d509fb0
|
see local files using createObjectURL()
need to:
- revoke the URL when deleting the attachment
- update the inmediate pop-up URL
|
2014-04-27 22:37:23 +02:00 |
|
Javier Abadia
|
f1f8111e50
|
delete of local attachments implemented
|
2014-04-27 01:15:07 +02:00 |
|
Javier Abadia
|
b58ba99d8a
|
delete attachments of those features that are deleted offline
|
2014-04-27 00:08:48 +02:00 |
|
Javier Abadia
|
6585928cf3
|
more JSLint fixes
|
2014-04-26 19:13:34 +02:00 |
|
Javier Abadia
|
4ba10390ba
|
fixed some JSLint warnings
|
2014-04-26 18:47:29 +02:00 |
|
Javier Abadia
|
cd0bcf9634
|
comments and code reordering to have a more clear structure inside the file
|
2014-04-15 16:47:34 +02:00 |
|
Javier Abadia
|
8973f76e6b
|
fixed a difficult bug when extending XMLHttpRequest in with sendAsBinary() method in Chrome
attachment-editor.html sample works now
|
2014-04-15 15:43:56 +02:00 |
|
Javier Abadia
|
d681022d0a
|
refactored attachmentsStore into offlineFeaturesManager (and not in each layer)
|
2014-04-15 14:09:15 +02:00 |
|
Javier Abadia
|
53da2e734a
|
added getAllAttachments() method
|
2014-04-15 14:08:04 +02:00 |
|
Javier Abadia
|
89fced9e79
|
much more readable code
|
2014-04-15 12:45:05 +02:00 |
|
Javier Abadia
|
12be0cd6d6
|
now we can upload attachments and delete them from indexeddb afterwards
|
2014-04-15 12:30:30 +02:00 |
|
Javier Abadia
|
d92acc87b3
|
implemented delete() method
|
2014-04-15 12:01:07 +02:00 |
|
Javier Abadia
|
9470f24990
|
now, uploading attachments works (not complete)
|
2014-04-15 11:46:38 +02:00 |
|
Javier Abadia
|
363396faea
|
fixed getAttachmentsByFeatureLayer() to support negative featureIds
fixed replaceFeatureId() method to allow changes to be really written
|
2014-04-15 11:45:09 +02:00 |
|
Javier Abadia
|
fda270c218
|
almost working for uploading new attachments
|
2014-04-14 18:31:29 +02:00 |
|
Javier Abadia
|
db7f2b1f45
|
add getAttachmentsByFeatureLayer() method to attachmentsStore
|
2014-04-14 18:00:04 +02:00 |
|
Javier Abadia
|
25d427faaf
|
added replaceFeatureId() method to low level attachmentsStore module
|
2014-04-14 17:34:41 +02:00 |
|
Javier Abadia
|
0d66b7e4c9
|
new method to delete all attachments of a feature
|
2014-04-09 23:19:23 +02:00 |
|