Oscar Lorentzon
726e0b72a2
Install manually created typings.
...
Create a single source of typings by installing
manually created typings with file: prefix.
2016-02-29 17:22:42 +01:00
Oscar Lorentzon
8066b9c52a
Use Typings instead of TSD.
...
Remove deprecated TSD dependency.
Use Typings to install type definitions.
Install rx typings from npm package.
2016-02-29 16:58:56 +01:00
Johan Gyllenspetz
b27de56cce
Initial version of RouteComponent
2016-02-09 17:36:44 -08:00
Oscar Lorentzon
5c0e51a3f8
Delete worthy items from unworthy dict when worthy.
2016-02-04 08:27:25 +01:00
Oscar Lorentzon
d8fae6855a
Export bounds interface in geohash typing to avoid any.
2016-02-04 08:12:31 +01:00
Oscar Lorentzon
db01f62645
Calculate required hashes for tile nodes.
...
When tiles are retrieved the the hashes required for all the
nodes to be worthy are calculated. The value is supplied to
the node.
2016-02-03 17:55:53 +01:00
Oscar Lorentzon
ae8f5cae7f
Calculate perspective to pano edges in graph.
2016-02-03 11:47:19 +01:00
Johan Gyllenspetz
084f34ac21
Add worthy logic
2016-02-02 22:42:04 -08:00
Oscar Lorentzon
005760df8a
Merge branch 'rotation-from-compass'
...
Conflicts:
src/graph/Node.ts
Remove non merged node return because logic has changed.
2016-01-26 12:06:15 +01:00
Oscar Lorentzon
5aed1941a9
Compute pano edges for nodes in graph.
2016-01-24 08:57:07 +01:00
Oscar Lorentzon
e446a3a9fd
Remove EdgeConstants namespace.
2016-01-15 10:35:13 +01:00
Oscar Lorentzon
1f8d6c10f9
Rename edge direction enum to EdgeDirection.
2016-01-15 10:16:25 +01:00
Oscar Lorentzon
2bc3d83d37
Compute rotation from compass when not merged.
...
Use orientation to create rotation matrix.
2016-01-13 16:28:38 +01:00
Oscar Lorentzon
83bfe51ca9
Use for..of throughout lib.
2016-01-07 20:58:24 +01:00
Oscar Lorentzon
91202e09bf
Sort keys in object literals.
2016-01-07 20:35:17 +01:00
Oscar Lorentzon
535a8f3ef9
Add trailing comma to multi line assignments.
2016-01-07 20:22:39 +01:00
Kamil Nikel
a8eb080fc6
Update most APIs so the JSDoc generates correctly
2016-01-07 17:36:24 +01:00
Johan Gyllenspetz
40201a275e
Add user and capturedAt to node structure
2016-01-06 07:10:19 -08:00
Johan Gyllenspetz
eb6664e4d3
Rename MyGraph to Graph
2016-01-04 14:25:55 -08:00
Oscar Lorentzon
9a132fc4a0
Move lat lon interfaces to graph folder.
2015-12-18 16:08:30 +01:00
Oscar Lorentzon
723d5182cc
Prefetcher required param to graph.
...
Avoid duplication of client id.
2015-12-18 15:23:10 +01:00
Oscar Lorentzon
fe3f8f8920
Unit test on graph get node method.
...
Prefetcher a constructor parameter to make it mockable.
2015-12-18 14:08:59 +01:00
Oscar Lorentzon
f1cf610d5e
Get node method on graph that prefetches if needed.
...
Prefetch when node does not exist or node is not worthy.
2015-12-18 13:17:13 +01:00
Oscar Lorentzon
02146b8ac0
Edge calculator private member of graph.
2015-12-18 12:00:37 +01:00
Oscar Lorentzon
efa7f1388e
Prefetcher a private member of graph.
2015-12-18 11:58:38 +01:00
Oscar Lorentzon
5b102e372b
Remove calculate edges method from edge calculator.
...
Use sequence edges method in graph.
Add edges to graph with labels containing direction and
world motion.
Name edges with keys of source and destination node
as well as direction to make them unique.
2015-12-15 15:34:21 +01:00
Oscar Lorentzon
2b50d8529c
Move edge calulator to edge folder.
2015-12-08 16:33:22 +01:00
Oscar Lorentzon
44e99ae9fe
Move edge constants to edge folder and rename.
2015-12-08 16:26:49 +01:00
Oscar Lorentzon
f002791f35
Rename graph constants to edge constants.
2015-12-08 16:08:51 +01:00
Oscar Lorentzon
966af55978
Move edge calculator interfaces to edge folder.
...
Separate edge calculator from graph.
2015-12-08 15:31:50 +01:00
Oscar Lorentzon
013ad5e4b7
Rename DirEnum to Direction.
2015-12-07 11:21:29 +01:00
Oscar Lorentzon
f075fb9d97
Add translation property on node.
...
Translation needs to be provided in constructor.
Update unit tests with constructor param.
2015-12-03 11:17:56 +01:00
Oscar Lorentzon
0964c604d9
Use uppercase letters for graph import paths.
...
Fixing Cannot find module serve errors.
2015-12-02 07:51:03 +01:00
Johan Gyllenspetz
da4ae2f6d1
Update to use import in spec, mainly for prepping use of envify
...
* Update all tests to use import
* Add envify with MAP_ENV set to testing when in testing environment
2015-12-01 18:20:46 -08:00
Johan Gyllenspetz
55be533265
Restructure viewer to make ui loadable
2015-11-13 15:48:00 -08:00
Johan Gyllenspetz
ff3227025c
First working version of AssetCache, without size but with alot of promises
2015-11-12 22:33:39 -08:00
Johan Gyllenspetz
8a74879ae1
Preperare to use AssetCache in viewer
2015-11-11 22:34:01 -08:00
Johan Gyllenspetz
56388aee93
Add movDir to Viewer
2015-11-11 21:47:45 -08:00
Johan Gyllenspetz
2dd2c75d02
Start traversing in different directions
2015-11-11 19:52:53 -08:00
Johan Gyllenspetz
478c7160dc
Add ability to get next sequence key from a Node
2015-11-11 18:30:43 -08:00
Johan Gyllenspetz
730fcbd989
Refactoring experiment with having all expoerts from package files
2015-11-11 17:54:35 -08:00
Johan Gyllenspetz
28dd0ddf0b
Start with edge traversal in graph and link in empty EdgeCalculator
2015-11-10 17:54:55 -08:00
Johan Gyllenspetz
2f8c6b13cd
Seperate interfaces from main object
2015-11-07 17:18:25 -08:00
Johan Gyllenspetz
8ee2ce5f54
Export interfaces on module level
2015-11-07 17:11:01 -08:00
Johan Gyllenspetz
6df9098c93
Experimenting with making interfaces dependent on package instead of global
2015-11-07 16:48:16 -08:00
Johan Gyllenspetz
23495dacd6
Try to organize code more in an angular way part II
2015-11-07 16:34:58 -08:00
Johan Gyllenspetz
3303ab41a9
Try to organize code more in an angular way
2015-11-07 16:34:36 -08:00