191 Commits

Author SHA1 Message Date
Oscar Lorentzon
3ac8f4459f chore: remove slider component support
Breaking change removing the slider component completely.
2022-04-08 15:31:59 -07:00
Oscar Lorentzon
c8c8323140 fix: guard against bleeding css line height values 2022-01-30 10:46:06 -08:00
Oscar Lorentzon
a1df915da4 fix: viewer configuration as observables
Avoid setting static properties which affects
all future Viewers created in the same app.
Use observables instead.
2021-06-10 07:36:05 +02:00
Oscar Lorentzon
81ff06c8b8 docs: add keyboard handler example 2021-05-27 11:59:02 +02:00
Oscar Lorentzon
8779cc70bd feat: handle missing creator username in attribution
Show general attribution when creator is missing.
2021-05-22 12:07:41 +02:00
Oscar Lorentzon
083673cfb0 chore: unify indent 2021-03-27 18:34:32 +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
7c9c7f98df refactor: prefix all class names with mapillary 2021-03-15 15:25:32 +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
3e017bbbda refactor: rename image key viewer prop for clarity 2020-12-02 16:51:10 +01:00
Oscar Lorentzon
d7de2efeda chore: inline all svgs
Base64 encode svgs before inlining.
2020-09-07 21:18:30 +02:00
Oscar Lorentzon
98fc886025 feat(tag): larger completer and remove completer line 2019-11-21 09:57:41 +01:00
Oscar Lorentzon
4499817ea2 feat: make bearing element slightly smaller 2019-03-19 15:04:23 +01:00
Oscar Lorentzon
63818768bb docs: make get tag id at docs correspond to implementation 2019-03-19 15:04:22 +01:00
Oscar Lorentzon
2532562efb feat: automatically scale down bearing controls in small viewport
Add configuration API for manually choosing size instead.
2019-03-19 15:04:02 +01:00
Oscar Lorentzon
2f1818e142 feat: automatically scale down zoom controls in small viewport
Add configuration API for manually choosing size instead.
2019-03-19 14:19:11 +01:00
Oscar Lorentzon
15b94ae5d7 feat: inline slider button icons 2019-03-14 12:27:16 +01:00
Oscar Lorentzon
677ea8d568 feat: make attribution more compact 2019-03-14 12:05:30 +01:00
Oscar Lorentzon
f4a665c4d3 feat: restyle slider mode switcher 2019-03-13 15:42:31 +01:00
Oscar Lorentzon
a2b0a3660f feat: make complete cover interactive
Change opacity of interactive element on hover to
make it clear that it is interactive.
2019-03-13 13:37:35 +01:00
Oscar Lorentzon
451559610f feat(bearing): add north indicator background 2019-03-07 15:20:42 +01:00
Oscar Lorentzon
fd9e317abf feat(bearing): indicate field of view
Add static field of view indication.
2019-03-07 13:28:12 +01:00
Oscar Lorentzon
303593c9e7 fix: guard against global css overrides
Fixes #279

Ensure that styles are not overridden for input focus
and box sizing.
2018-10-04 12:08:45 +00:00
Oscar Lorentzon
e9416c7752 fix(tag): use same font family across lib 2018-09-12 09:19:08 +00:00
Oscar Lorentzon
6c1419255a fix(slider): ensure no overlap with compass indicator
Fixes #275
2018-06-01 10:16:47 +00:00
Oscar Lorentzon
d98db13e86 fix(attribution): set link action styles explicitly
Avoid global css styles overriding link action styles.
2018-06-01 07:39:29 +00:00
Oscar Lorentzon
0061445852 fix: remove unused svgs 2018-05-28 13:54:16 +00:00
Oscar Lorentzon
263516b5f1 feat(cover): restyle cover component
Simplify design, remove gradient and hover effect.
Horizontally centered enter button and logo.
Compact size when viewer width is less than
640 pixels or viewer height is less than
480 pixels.
2018-05-28 13:21:55 +00:00
Oscar Lorentzon
0a67d85525 feat(slider): restyle slider component
Use only black and white.
2018-05-28 10:03:55 +00:00
Oscar Lorentzon
cdad0fb150 feat: restyle loading component
White loading bar with black bottom border.
2018-05-28 10:01:30 +00:00
Oscar Lorentzon
172a5f701d feat: restyle sequence component
Use black background color with 0.5 opacity. White icons.
New timeline icon.
2018-05-28 09:54:17 +00:00
Oscar Lorentzon
3d03df231f fix: align zoom and bearing components 2018-05-28 09:31:29 +00:00
Oscar Lorentzon
eff3c72f50 feat: default cursor for disabled buttons 2018-05-28 09:30:35 +00:00
Oscar Lorentzon
6a5b0e4042 feat: compact attribution on small viewer size
Render a compact attribution when viewer is less than or equal
to 640 pixels wide.
2018-05-28 09:27:39 +00:00
Oscar Lorentzon
19125b4c06 feat(bearing): restyle bearing indicator
Mimic behavior of a compass where north indicator
rotates.
Restyle and remove node fov indication.
2018-05-25 09:11:34 +00:00
Oscar Lorentzon
fc4b5666a1 feat: restyle attribution
Add date and logo.
2018-05-24 12:26:56 +00:00
Oscar Lorentzon
0b7d54e372 feat(zoom): add icons to buttons 2018-05-24 06:53:32 +00:00
Oscar Lorentzon
71908b967b feat(zoom): add zoom component
Add zoom component with zoom in and out buttons.
2018-05-23 12:34:59 +00:00
Oscar Lorentzon
9945b691c5 feat(slider): fill container with range input when no mode button 2018-05-17 13:06:13 +00:00
Oscar Lorentzon
af01543769 feat(slider): use 3d icon for mode button 2018-05-15 12:33:45 +00:00
Oscar Lorentzon
169b9a045c fix(slider): default cursor when no mode button
Show default cursor when the mode button is disabled.
Simplify slider CSS.
Apply correct class for motion mode button.
2018-05-15 12:16:04 +00:00
Oscar Lorentzon
301e4d565e feat(slider): add slider modes
Style range input.
Add slider mode button.
2018-05-11 11:33:30 +00:00
Oscar Lorentzon
ae1986bde6 refactor(slider): render with dom renderer
Add new slider DOM renderer class handling virtual node
creation.
Use DOM renderer for rendering slider range input.
Remove unused DOM properties from slider state.
2018-04-24 11:44:42 +00:00
Oscar Lorentzon
ef8a361f16 feat: disable timeline input for unknown position 2018-02-20 11:51:47 +01:00
Oscar Lorentzon
7ec09ad414 feat: add timeline range input element 2018-02-20 11:51:46 +01:00
Oscar Lorentzon
71e6653555 feat: add timeline button
Add timeline to sequence mode enum.
2018-02-20 11:51:46 +01:00
Oscar Lorentzon
f43e7b9f5b refactor: embed play icons as base64
Improve loading speed for play icons by embedding.
2017-12-04 12:58:14 +00:00
Oscar Lorentzon
d02641a3a9 fix: center playback controls correctly 2017-11-30 20:09:29 +00:00
Oscar Lorentzon
9986595a80 feat: set border radius based on container size 2017-11-30 17:14:51 +00:00