82 Commits

Author SHA1 Message Date
Oscar Lorentzon
204e45c89a refactor: use spherical literal for panoramas 2021-03-22 11:56:49 +01:00
Oscar Lorentzon
c40d25ab00 refactor: rename key to id 2021-03-22 11:56:49 +01:00
Oscar Lorentzon
dd2fc56539 refactor: replace pano with spherical 2021-03-16 08:19:29 +01:00
Oscar Lorentzon
15b3e6a27d chore: remove deprecated functionality
Remove double click zoom handler becasue of interfering
behavior, unused components, deprecated configuration
values.
2021-03-16 08:19:29 +01:00
Oscar Lorentzon
b562a0b06c chore: build with rollup
Migrate to Rollup.
Emit umd, minified umd, module, type declarations
and source maps.
Work around problems with Falcor by using
virtual module.

Migrate to Jest.
Run tests in with CommonJS modules becasue ES6
is not supported.
Work around dependency problems by bootstrap
to ensure they are not loaded during test.

Remove all unused dependencies.

Create state transition matrix to avoid
circular dependencies.

chore: tsc and rollup watch build
chore: incremental watch build
Remove unused dependencies.
chore: use existing type packages
chore: mock favicon
chore: improve watch build
chore: fix styles build
chore: specific commonjs build for tests
chore: reset spec files
refactor: explicit state transition matrix
chore: make src commands work
chore: working unit tests and lib
chore: add serve docs script
chore: remove unused bundle config
chore: refactor rollup config to avoid duplication
fix: falcor imports
fix: transition from source to target

Fixes #87
Fixes #100
Fixes #159
Fixes #208
2021-03-15 11:23:22 +01:00
Oscar Lorentzon
491f9c04c8 refactor: move support logic to utils 2021-02-24 08:53:07 +01:00
Oscar Lorentzon
d85473d4e1 feat(viewer): add public api to remove viewer
Release all internal resources on remove.
2021-01-13 11:07:50 +01:00
Oscar Lorentzon
ae9fc71134 feat: load clusters from url
Add JSON inflator class to be able to reuse
in data providers.
2020-12-02 18:25:17 +01:00
Oscar Lorentzon
a913a99a9f feat: remove obsolete stats component 2020-11-06 17:22:06 +01:00
Oscar Lorentzon
8e82214957 chore: update viewer ctor calls in debug pages 2020-10-08 17:37:50 +02:00
Oscar Lorentzon
448da3b08b Enable stats component by default. 2017-03-24 10:59:00 +00:00
Oscar Lorentzon
bb86fb5698 2.3.0 2017-01-09 16:06:50 +01:00
Oscar Lorentzon
e37f7afe85 Set filter and token in navigator.
Cache nodes based on navigator state depending on if
a key have been requested and if a key has been moved
to.

Unit test navigator methods.
2016-11-16 11:00:14 +01:00
Oscar Lorentzon
ea1406f85f Include filter expression type in docs. 2016-11-07 12:17:13 +01:00
Oscar Lorentzon
6ea740c71b Remove js suffix from dist output files. 2016-10-28 11:16:16 +02:00
Oscar Lorentzon
f456d2d04b Only update bounding box when slider plane enabled. 2016-10-26 08:57:17 +02:00
Oscar Lorentzon
628c70e547 Fill render mode as default. 2016-10-25 20:10:19 +02:00
Oscar Lorentzon
47ab4ce162 Component options struct on viewer options.
Separate component options from library options.
Rename imageplane component to imagePlane.
2016-10-25 20:04:24 +02:00
Oscar Lorentzon
90fa0bae0f Build everything to dist folder.
Node server does not need build folder because it generates
javascript and sourcemap on the fly.
2016-07-13 07:08:49 -04:00
Oscar Lorentzon
ca89367230 Merge player and sequence components.
New name for combined functionality is sequence component.
2016-06-02 10:16:52 +02:00
Oscar Lorentzon
3a31c45fce Min and max width configurable. 2016-06-02 08:30:45 +02:00
Kamil Nikel
1d08796526 Merge branch 'master' into feature-falcor-objects 2016-03-14 10:51:03 +01:00
Oscar Lorentzon
6a54849471 Buttons for changing render mode on debug page. 2016-03-13 11:18:25 +01:00
Oscar Lorentzon
36c85bd735 Add resize API method on viewer. 2016-03-12 09:23:46 +01:00
Oscar Lorentzon
26f9378c90 Not setting slider nodes when shown to make it dynamic. 2016-03-06 13:12:43 +01:00
Johan Gyllenspetz
1901fa008b Merge branch 'master' into feature-falcor-objects 2016-03-03 16:00:20 -08:00
Oscar Lorentzon
6b95d93cfa Slider button in debug page.
Deactivate other components when activating slider.
Set foreground and background nodes when activating slider.
2016-03-02 18:02:20 +01:00
Johan Gyllenspetz
2bc079bed2 Disable MapillaryObjects by default 2016-03-01 17:08:22 -08:00
Johan Gyllenspetz
7af75b8fec Start with getting objects from Google Tile 2016-02-29 21:15:38 -08:00
Johan Gyllenspetz
3f6c59c3e5 Convert Marker UI to a Component 2016-02-10 11:28:54 -08:00
Johan Gyllenspetz
f8d2921fd4 Add Play and Stop support to RouteComponent 2016-02-09 22:33:07 -08:00
Johan Gyllenspetz
b27de56cce Initial version of RouteComponent 2016-02-09 17:36:44 -08:00
Oscar Lorentzon
acff7863fd Deactivate cache when playing in debug page. 2016-02-05 16:06:46 +01:00
Oscar Lorentzon
3767d47cf8 Remove gl option from index initialisation. 2016-02-05 14:05:00 +01:00
Oscar Lorentzon
4001fb538b Event launcher firing events on behalf of viewer.
Fixes #57

Event launcher fires events bases on loading and node streams.
2016-02-04 17:40:28 +01:00
Johan Gyllenspetz
7d40ea14ce Demonstrate how a simple PlayerComponent might work 2016-02-02 17:13:42 -08:00
Johan Gyllenspetz
8ed1c934e0 Simplify UI handling and conform to possible 1.0.0 API 2016-02-02 16:04:43 -08:00
Johan Gyllenspetz
2b76f19876 Major rewrite of UI handling (work in progress) 2016-01-29 17:00:38 -08:00
Johan Gyllenspetz
9c52de3a79 More useable user setup, debug ui
* Tweak input towards users and functionality not extendability
* Add demo information to debug interface
2016-01-26 21:38:41 -08:00
Kamil Nikel
629763899c Add DebugUI 2016-01-26 17:37:16 +01:00
Johan Gyllenspetz
266e853e3e Add Zindex stacking for MouseService 2016-01-25 21:04:49 -08:00
Johan Gyllenspetz
b2d192b25b Make CoverUI special and handle activate of coverUI (still not good though, needs more work) 2016-01-25 16:51:13 -08:00
Kamil Nikel
d1ea55aa6f Use various navUIs while debugging 2016-01-22 15:42:30 +01:00
Kamil Nikel
dace8f3508 Add initial DirectionsUI 2016-01-22 15:38:29 +01:00
Kamil Nikel
8beba842d0 Add browserSync, change debug location to localhost:3000 2016-01-22 14:24:23 +01:00
Johan Gyllenspetz
9b66770571 Add loadingUI to most of the debug examples 2016-01-21 09:13:45 -08:00
Kamil Nikel
c18883fb49 Refactor CoverUI, carry initialPhotoId within the container 2016-01-20 15:25:56 +01:00
Kamil Nikel
74a5f8eea0 Add initial AttributionUI 2016-01-20 14:48:31 +01:00
Kamil Nikel
b6a833d76d Tweak LoadingUI visuals 2016-01-20 14:03:38 +01:00
Kamil Nikel
7b03db75d7 Try replacing vdom nodes 2016-01-20 14:03:38 +01:00