Oscar Lorentzon
2b4617bd7a
feat(api): get static resources through data provider
...
Use data provider in node caching.
2020-10-05 18:07:55 +02:00
Oscar Lorentzon
0469c966ab
refactor(api): replace api v3 with data provider solution
2020-09-22 15:42:28 +02:00
Oscar Lorentzon
d6bfa06fc6
chore: update rxjs
2020-06-08 15:01:39 +02:00
Oscar Lorentzon
a4972660c0
chore: update rbush
...
Handle class export by creating types file.
2020-06-08 13:46:49 +02:00
Oscar Lorentzon
6c41f3e676
feat: retrive cluster key from api
2019-11-08 09:06:26 +01:00
Oscar Lorentzon
af06324a69
docs: ignore internal properties without corresponding events
...
The properties may change over time, but there are no
events emitting the changes. Also, they are internal.
2019-02-28 11:32:19 +01:00
Oscar Lorentzon
e68aed9470
feat: request camera projection and expose
2019-02-05 09:01:43 +01:00
Oscar Lorentzon
6a9d6d9949
docs: exclude protected and internal members
...
Exclude protected members with typedoc argument.
Exclude internal public members with jsdoc
ignore tag.
2018-11-08 06:51:45 +00:00
Oscar Lorentzon
d90bf95991
feat: use computed altitude for original position
...
Use computed altitude to make the lat lon shift more
visible.
2018-10-26 08:28:04 +00:00
Oscar Lorentzon
7200b4849b
feat: request and expose original altitude
2018-10-25 20:56:41 +00:00
Oscar Lorentzon
6698fd8c79
docs: explain async and notification api
...
Clairfy that node observables are internal.
2018-09-13 11:26:11 +00:00
Oscar Lorentzon
e1d10fcbd1
feat: retrieve radial distortion params from api
2018-06-15 06:44:11 +00:00
Oscar Lorentzon
16ca548124
docs: clarify what compass angle represents
2018-06-14 12:48:34 +00:00
Oscar Lorentzon
c5d17b5f44
refactor: remove deprecated result selectors
...
Use map instead of result selectors for mergeMap, switchMap
combineLatest etc.
2018-06-14 07:26:15 +00:00
Oscar Lorentzon
9608799c47
refactor: convert deprecated rxjs methods
...
Convert merge, concat, combineLatest and zip to creation
operators.
2018-06-14 06:32:22 +00:00
Oscar Lorentzon
1969bd83bc
refactor: use pipe operators
...
Use pipe operators everywhere.
Fix errors becasue of piping more than nine operations.
2018-06-13 12:03:40 +00:00
Oscar Lorentzon
72e778b921
chore: upgrade to rxjs 6 compat
...
Downgrade node types version because of observable type
compatibility issue.
Remove unsupported generics from empty calls.
Use observable create for API call wrapping
becasue of non compatible type when using
observable from promise.
Add frame generator because it was removed
from RxJS 6.
2018-06-12 06:01:04 +00:00
Oscar Lorentzon
2de4f881ef
chore: update typescript to 2.9
2018-06-11 11:50:17 +00:00
Oscar Lorentzon
c38f4e7c4f
chore: remove typings dependency
...
Add types folder as type root.
Declare modules in type def files to be able to compile.
2018-06-11 06:16:58 +00:00
Oscar Lorentzon
ba66759cad
refactor: remove underscore dependency
...
Use for loops instead of underscore.
Remove typings.
2018-06-08 13:16:29 +00:00
Oscar Lorentzon
2522cd8fab
chore: install latlon geohash from types
2018-06-08 08:00:07 +00:00
Oscar Lorentzon
013f4db5a3
feat: observable for emitting image when changed
2018-06-04 09:12:40 +00:00
Oscar Lorentzon
51f0fa6288
feat: do not require same merge cc for similar edges
2018-05-29 09:03:03 +00:00
Oscar Lorentzon
e3250d8162
refactor: import rxjs operators in a single place
2018-04-17 12:50:59 +00:00
Oscar Lorentzon
2a42296372
fix: simplify batching
...
Create just one smaller batch around reference for simplified
logic.
Adjust unit tests.
Catch and log errors when caching sequence nodes to ensure
kept alive subscriptions.
2018-02-20 11:51:48 +01:00
Oscar Lorentzon
9707fe1a44
feat: request camera uuid
...
Expose camera uuid on node.
2018-02-20 11:51:48 +01:00
Oscar Lorentzon
2b9c35d183
feat(graph): add cache bounding box service method
...
Wraps graph method.
Unit tests.
2018-02-20 11:51:48 +01:00
Oscar Lorentzon
f3f2e26029
feat(graph): add cache bounding box method
...
Add method for caching full nodes (not node assets) to graph.)
Cache tiles covering bounding box and then fill nodes inside
it.
Reuse cache tile logic to avoid making multiple calls for same
tile for different API methods.
Unit test.
2018-02-20 11:51:48 +01:00
Oscar Lorentzon
2a63a1a26b
feat: method for encoding geohashes from bbox
...
Method does not currently support an area larger than
2 by 2 tiles and may return more tiles than needed
if bounding box is not square.
2018-02-20 11:51:48 +01:00
Oscar Lorentzon
f286a06b3b
feat: add organization key and private properties
...
Add properties to node and request as fill properties in API
calls.
2018-02-20 11:51:48 +01:00
Oscar Lorentzon
38169b5125
refactor: request non nested sequence_key property
...
Request non nested sequence_key property for performance reasons.
Handle non exisiting sequences by returning empty sequence as
fallback in API.
Add tests for fallback logic.
2018-02-20 11:51:48 +01:00
Oscar Lorentzon
af2d874684
fix: correct links
...
Add link to node from set filter method for clarity.
2018-02-20 11:51:47 +01:00
Oscar Lorentzon
8e9ed43a07
refactor: use urls class everywhere
2018-02-20 11:51:47 +01:00
Oscar Lorentzon
e5d30ea4ff
feat: keep load status dict size small
...
Delete fully loaded nodes that are not relevant for
load status reporting to keep dict small and performance
stable.
Only emit if load status has changed.
2017-12-08 07:19:10 +00:00
Oscar Lorentzon
08f1f38e60
fix: do not expose internal graph from service
2017-12-01 08:16:32 +00:00
Oscar Lorentzon
739eea9237
test: graph service modes
...
Test that graph mode is set correctly, spatial subscriptions
are reset when setting mode to sequence and that spatial
edges are not cached when in sequence mode.
Add docs to set graph mode method.
2017-12-01 07:58:41 +00:00
Oscar Lorentzon
feb1f95b06
test: sequence node batch caching
...
Ensure that no nodes are requested twice and that correct
batches are created around reference node.
Fix batching logic.
Ensure that sequence keys property is not affected.
2017-12-01 07:02:28 +00:00
Oscar Lorentzon
ece797eb07
feat: prioritize caching around reference node
...
Avoid long blocking calls requesting data for 200 keys at a time
by requesting smaller batches around reference node.
This ensures that requesting a single key, which is
done by the append node subscription is not
blocked by the internal falcor handling.
Use current node as reference when caching sequence nodes
in play service.
2017-11-30 13:03:07 +00:00
Oscar Lorentzon
1ce72f388b
feat: do not cache sequence nodes by default
...
Let graph service API user decide when and how
to cache sequence nodes.
2017-11-27 14:13:34 +00:00
Oscar Lorentzon
7e0ddb59ee
fix: do not change graph mode without change
...
Only reset spatial subscriptions when changing to
sequence mode.
2017-11-27 14:11:30 +00:00
Oscar Lorentzon
468c917dff
feat: add graph service cache sequence nodes method
2017-11-24 06:17:33 +00:00
Oscar Lorentzon
8dec6ea143
feat: make max pre-stored count configurable
...
Separete pre-stored value from unused nodes value.
2017-11-23 14:35:58 +00:00
Oscar Lorentzon
ad9d9bc589
feat: add keep sequence key param to service method
2017-11-23 12:31:05 +00:00
Oscar Lorentzon
1fbfd963f6
test: sequence should be kept according to key
...
Ensure that sequence or sequence nodes are not uncached
if sequence key is specified.
2017-11-23 12:28:53 +00:00
Oscar Lorentzon
2b681c4c10
feat: do not dispose nodes in sequence to keep
...
Uncache node and put in prestore if tile is uncached.
2017-11-23 12:25:34 +00:00
Oscar Lorentzon
14e2dcedfb
feat: uncache prestored nodes
...
Dispose all prestored nodes that are not cache initialized.
If node is a cached sequence node, remove the
indicator from dict.
Keep max unused nodes in prestore to avoid uncaching
potentially used nodes.
2017-11-22 14:27:43 +00:00
Oscar Lorentzon
37426120ab
test: graph cache sequence nodes
...
Test that graph caches sequence nodes correctly
and throw errors in correct circumstances.
2017-11-21 12:52:59 +00:00
Oscar Lorentzon
1c5620f265
feat: add graph mode logic to service
...
Add sequence and spatial graph modes and API to graph
service.
Cache spatial data and edges in spatial mode only.
Always cache sequence. Cache sequence nodes in sequence mode
only.
2017-11-21 08:12:35 +00:00
Oscar Lorentzon
5b5733340d
refactor: take sequence key as param
...
Take sequence key as param to sequence related
methods.
2017-11-21 08:08:46 +00:00
Oscar Lorentzon
e7e001553c
feat: add methods for caching sequence nodes
...
Add methods for checking if has sequence nodes, is
caching them and for caching them.
2017-11-21 07:57:45 +00:00