41 Commits

Author SHA1 Message Date
Oscar Lorentzon
ecd856099a feat: replace default data provider
Remove Falcor data provider and dependencies.
Add Graph API data provider.
Unit test.
2021-06-07 15:03:11 +02:00
Oscar Lorentzon
150bad00e3 fix: throw if graph image did not exist
Improve error message for non existing images.
2021-06-03 08:22:24 +02:00
Oscar Lorentzon
0d904a641b fix: remove event listeners correctly 2021-06-03 08:04:17 +02:00
Oscar Lorentzon
11858978a2 refactor: rename mouse to pointer component 2021-05-24 09:37:26 +02:00
Oscar Lorentzon
ce785f5a5f docs: add viewer options example 2021-05-24 08:37:19 +02:00
Oscar Lorentzon
494a5464f0 feat: clarify token and provider handling
Separate token and provider options.
Rename viewer token method for clarity.
Use access token wording everywhere.
2021-05-22 12:07:41 +02:00
Oscar Lorentzon
0691f7151b docs: add custom render examples 2021-05-18 07:25:20 +02:00
Oscar Lorentzon
eae2a025ac fix: do not rename error in external export 2021-05-04 08:15:43 +02:00
Oscar Lorentzon
03b50a99b0 fix: render visible items on spatial activation
Replay all cells for all subscriptions.
Ensure that valid spatially visualized
cells are not uncached in graph.
Reset scene completely on deactivation.
2021-05-04 08:01:35 +02:00
Oscar Lorentzon
89896b7de1 feat: export all errors externally 2021-05-03 10:43:28 +02:00
Oscar Lorentzon
4ddab59fce feat: clamp tile level with min request level
Ensure that tiles are always requested.
2021-05-03 10:05:30 +02:00
Oscar Lorentzon
dd73429756 fix: invoke custom control methods only when active 2021-05-03 09:38:59 +02:00
Oscar Lorentzon
c82a780d6e refactor: subscribe to pointer instead of mouse events 2021-05-03 09:28:18 +02:00
Oscar Lorentzon
983736f4d4 fix: handle custom state separately in spatial 2021-05-03 09:19:18 +02:00
Oscar Lorentzon
40d03e8d84 fix: set initial camera controls correctly 2021-05-03 08:54:13 +02:00
Oscar Lorentzon
6239a952b7 feat: spatial cell grid depth option 2021-04-29 22:15:15 +02:00
Oscar Lorentzon
8f5ad1c560 test: unit test spatial octree functionality 2021-04-29 22:15:15 +02:00
Oscar Lorentzon
7dba213f69 feat: emit load event on initial load 2021-04-29 21:59:45 +02:00
Oscar Lorentzon
bda990160d feat: reuse tile url requests
Do not add urls if they already exist.
2021-04-29 21:47:43 +02:00
Oscar Lorentzon
43927cb1a7 test: unit test custom camera controls api 2021-04-27 08:23:04 +02:00
Oscar Lorentzon
1a03b04af9 feat: custom camera controls api
Allow MJS to be controlled by any camera
interaction logic through a custom
camera controls API with an interface
defining the required methods to
implement.
2021-04-27 08:23:04 +02:00
Oscar Lorentzon
f95fcdf765 feat: configurable initial camera controls 2021-04-24 16:12:14 +02:00
Oscar Lorentzon
2142e83c02 refactor: validate state transition in context 2021-04-24 16:12:14 +02:00
Oscar Lorentzon
5f39ab000b refactor: make merge id string for consistency 2021-04-23 22:12:39 +02:00
Oscar Lorentzon
08ccde0ab2 feat: camera control mode api
Add camera control mode method to viewer
to give API user control over state
transitions between earth and street.
2021-04-23 18:28:17 +02:00
Oscar Lorentzon
b1dfb0f8d4 refactor: remove changed suffix from event 2021-04-23 18:28:17 +02:00
Oscar Lorentzon
20c36c8915 refactor: remove unused cluster contracts 2021-04-23 18:28:17 +02:00
Oscar Lorentzon
c3b3d8eb2a feat: typed component names 2021-04-23 18:28:17 +02:00
Oscar Lorentzon
34e1416c2f fix: types for filter expressions 2021-04-23 18:28:17 +02:00
Oscar Lorentzon
988c7a3362 refactor: simplify component names 2021-04-23 18:28:17 +02:00
Oscar Lorentzon
9dab08e250 refactor: clearer separation for fallback components 2021-04-23 18:28:17 +02:00
Oscar Lorentzon
2fc6eda6b7 refactor: remove redundant merge version prop 2021-04-23 18:28:17 +02:00
Oscar Lorentzon
3a68c9f4e3 feat: typed and documented provider event 2021-03-29 11:17:45 +02:00
Oscar Lorentzon
640c4fc0dd fix: lng is x and lat is y 2021-03-29 10:35:45 +02:00
Oscar Lorentzon
9b5ede7c44 refactor: lng lat order for params 2021-03-29 10:35:45 +02:00
Oscar Lorentzon
bc94ef4165 refactor: rename latlonalt to lnglatalt 2021-03-29 10:35:45 +02:00
Oscar Lorentzon
0e08de7f85 refactor: rename latlon to lnglat 2021-03-29 10:35:45 +02:00
Oscar Lorentzon
5e3873ee9f refactor: rename node to image 2021-03-28 18:55:20 +02:00
Oscar Lorentzon
4efa09ac97 feat: typed event methods, interfaces, and props 2021-03-28 15:12:50 +02:00
Oscar Lorentzon
9c5f64f2b8 feat: overload viewer methods for type check and docs 2021-03-28 15:12:50 +02:00
Oscar Lorentzon
b688f4e6dc chore: rename spec to test 2021-03-27 18:34:32 +01:00