2540 Commits

Author SHA1 Message Date
Oscar Lorentzon
a905fd1520 docs: remove obsolete close to examples
Fixes #317
2021-01-13 10:43:51 +01:00
Oscar Lorentzon
10ee513985 feat(api): add geo coords to public api 2021-01-13 10:35:59 +01:00
Oscar Lorentzon
c76f784a98 feat(play): disable play button in earth mode 2021-01-13 10:35:26 +01:00
Oscar Lorentzon
8d47719bc3 feat(play): disable key play in earth mode 2021-01-13 10:35:26 +01:00
Oscar Lorentzon
7fb6caa951 feat(play): stop service in earth mode 2021-01-13 10:35:26 +01:00
Oscar Lorentzon
de33a03bd9 feat(spatial): change line threshold in different states 2021-01-13 10:35:01 +01:00
Oscar Lorentzon
36669bec73 feat(spatial): optimize color change performance
Use vertex colors to achieve 10x render performance
gain.
2021-01-13 10:35:01 +01:00
Oscar Lorentzon
f23a40cc85 feat(spatial): add selection and hover visualization
Indicate hovered and selected nodes with different color.
2021-01-13 10:35:01 +01:00
Oscar Lorentzon
fb6b62c139 refactor(spatial): extract classes for spatial objects 2021-01-13 10:35:01 +01:00
Oscar Lorentzon
0ca25ac0df feat(spatial): optimize camera size updates
Overwrite buffer attribute array values on size change.
Recalculate only relative positions with respect to
camera origin.
2021-01-13 10:35:01 +01:00
Oscar Lorentzon
87683453e6 chore: key commands for all spatial props
Add key commands for all spatial config options
in debug page.
2021-01-13 10:35:01 +01:00
Oscar Lorentzon
9357137873 feat(spatial): add options for point and camera size
Make point and camera sizes configurable.
Fix raycasting move to camera issue where closest
camera was always chosen by decreasing line
raycasting threshold.
Combine configuration subscriptions to avoid duplication.
2021-01-13 10:35:01 +01:00
Oscar Lorentzon
6967d16ea5 docs: fix viewer ctor examples with v3.0 api 2021-01-13 10:34:35 +01:00
Oscar Lorentzon
c1f38e6d16 chore: do not require typedef for variables
Typedef is inferred so most of the time it just duplicates
the information for variables.
2020-12-22 21:58:57 +01:00
Oscar Lorentzon
b5f08f90c5 docs: update changelog for 3.0.0 2020-12-10 11:39:14 +01:00
Oscar Lorentzon
490eea6a7d 3.0.0 v3.0.0 2020-12-10 10:48:25 +01:00
Oscar Lorentzon
56f3d0375e docs: add version 2 to 3 migration guide 2020-12-10 09:44:14 +01:00
Oscar Lorentzon
fc627d7d96 docs: add js docs to public classes
Add docs to classes that are part of documentation
build. Add new classes to documentation build.
Make using section similar for landing and readme.
2020-12-09 21:57:33 +01:00
dependabot[bot]
cc855f79fb chore(deps): bump highlight.js from 10.2.0 to 10.4.1
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 10.2.0 to 10.4.1.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/master/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/10.2.0...10.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-09 15:20:13 +01:00
Oscar Lorentzon
1416c61c4f fix(api): handle quadrilateral s2 cells
Handle the fact that s2 cells are quadrilaterals
and not rectangles on the plane.
Simplified solution for region coverage by
adding all neighbors if any point of region
is outside center cell.
2020-12-04 15:57:59 +01:00
Oscar Lorentzon
38f2dd4e93 fix: correct corner order for s2 cells 2020-12-03 11:55:41 +01:00
Oscar Lorentzon
5142744e00 fix: handle cover image errors correctly 2020-12-03 11:08:19 +01:00
Oscar Lorentzon
b1ba8b704c feat: expose array buffer fetcher
Expose to simplify data provider development.
2020-12-02 18:42:01 +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
5a3219f3af feat: do not require specific level for spatial data
Levels can depend on the geometry provider so need to
be dynamic.
2020-12-02 16:53:09 +01:00
Oscar Lorentzon
3e017bbbda refactor: rename image key viewer prop for clarity 2020-12-02 16:51:10 +01:00
Oscar Lorentzon
2bf32cb7c3 refactor: rename falcor urls class for clarity 2020-12-02 16:48:34 +01:00
Oscar Lorentzon
1bd75c3488 refactor(api): prefix mesh reader name with pbf for clarity 2020-11-26 20:46:16 +01:00
Oscar Lorentzon
81e4690e96 feat(graph): rename camera projection type node prop
Breaking change.
2020-11-26 20:37:19 +01:00
Oscar Lorentzon
25c484fba2 refactor(api): clarify node url property names 2020-11-26 20:08:32 +01:00
Oscar Lorentzon
095011eb24 refactor: rename container element property 2020-11-26 19:58:46 +01:00
Oscar Lorentzon
777a36c5e2 docs: clarify usage explanation 2020-11-26 19:45:23 +01:00
Oscar Lorentzon
7e1ea42a55 feat(api): add quality score prop on node 2020-11-26 15:42:47 +01:00
Oscar Lorentzon
cf65b0b2f5 docs: update contribution guide
Simplify contribution guide and add CLA.
Remove run keyword from yarn commands.
2020-11-26 15:41:27 +01:00
Oscar Lorentzon
b12f9c3122 fix: do not compute pan nodes for full panos 2020-11-26 09:26:36 +01:00
Oscar Lorentzon
5583028cd5 refactor(api): url as param to mesh method
Use URL instead of key as param to get mesh method.
Populate mesh URL in data provider.
Use array buffer instead of buffer in mesh reader.
2020-11-26 09:23:27 +01:00
Oscar Lorentzon
48a521f0be docs: include data provider api in docs 2020-11-26 09:14:39 +01:00
Oscar Lorentzon
92686fc3fb chore: add specific doc landing page
Adjust docs landing page to include only relevant
parts of readme.
Add favicon and footer legal info.
2020-11-13 22:54:50 +01:00
Oscar Lorentzon
955d062648 chore: update information files
Update Code of Conduct and License files.
Add PR template and empty changelog.
Update links in readme.
Remove unused files.
2020-11-13 19:35:35 +01:00
Oscar Lorentzon
aeb39dc098 chore: add github action ci badge 2020-11-11 19:40:01 +01:00
Oscar Lorentzon
9f712f92e0 chore: remove circle ci config
Migrated to Github Actions instead of CircleCI.
2020-11-11 19:27:39 +01:00
Oscar Lorentzon
a05d7ad343 chore: add github workflow for ci 2020-11-11 19:19:10 +01:00
Oscar Lorentzon
a913a99a9f feat: remove obsolete stats component 2020-11-06 17:22:06 +01:00
Oscar Lorentzon
8a3b2af918 refactor(graph): remove unused load status object 2020-11-06 17:02:16 +01:00
Oscar Lorentzon
342e612104 feat: remove loading component
Remove image loading service and all dependencies.
Loading indicator component functionality that is
more clear will need a new implementation.
2020-11-06 15:36:39 +01:00
Oscar Lorentzon
212a3e04f9 feat(api): remove move close to functionality
Require mapillary-js user to call the mapillary API
for moving close to.
2020-11-06 11:57:35 +01:00
Oscar Lorentzon
f3fa835f85 refactor(api): rename set user token method for clarity
Distinguish user token and client token with clear naming.
2020-11-06 11:33:40 +01:00
Oscar Lorentzon
2099a10da3 refactor(api): rename client id to more general client token 2020-11-04 18:00:33 +01:00
Oscar Lorentzon
d093883c11 refactor(api): support single cell fetch only
Require API user to parallelize the cell fetching.
2020-11-04 17:44:56 +01:00
Oscar Lorentzon
d34b74830c refactor(api): call image function with url
Set thumb URLs on node fetch to enable dynamic URLs
returned by the API.
2020-11-03 19:40:58 +01:00