80 Commits

Author SHA1 Message Date
Oscar Lorentzon
99c7dd85ce Create polygon tags.
Add support for creating new polygons.
Remove last vertex by clicking it.
Abort creation by clicking original vertext when fewer than 4.
Complete polygon by clicking original vertex.
2016-07-05 08:13: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
Oscar Lorentzon
225716a9a2 Render symbol for spot tag.
Expose point geometry and spot tag in public API.
Add debug functionality for creating spot tags and
point geometries.
2016-05-16 10:54:59 +02:00
Oscar Lorentzon
b47cb6396c Adjust create tag point when render camera changes.
Adjust to make sure that geometry point follows mouse when
zooming and panning.
Clear tag set and tag creator on deactivation.
2016-05-13 21:48:00 +02:00
Oscar Lorentzon
a310ee4387 Expose tag component API in namespace.
Define what classes should be exposed in component ts file.
Import all properties as TagComponent and export in global
Mapillary object.
2016-05-13 11:39:52 +02:00
Oscar Lorentzon
54b4f4a82e Dispose subscriptions on deactivation.
Only emit geometry created and tags changed events when activated.
2016-05-13 10:06:28 +02:00
Oscar Lorentzon
1effd2871d Emit events for observables on tag component. 2016-05-12 16:35:32 +02:00
Oscar Lorentzon
d961beb17e Move tag events from component to tag class.
Remove symbol click event from API.
2016-05-12 14:56:28 +02:00
Oscar Lorentzon
24010e9f9f Rename LineTag to OutlineTag.
Rename CreateLineTag to OutlineCreateTag.
2016-05-11 09:12:39 +02:00
Oscar Lorentzon
a3349ad34f Functionality for creating rectangle tags.
Add TagCreator class that holds the create tag until finished.
Render CreateTag in GL.
Internal CreateLineTag class with simple visualization of geometry.
2016-05-11 08:49:15 +02:00
Oscar Lorentzon
09c684efbc Editable a property on line tag options.
Tag classes do not need to be editable.
2016-05-06 15:49:57 +02:00
Oscar Lorentzon
da1ed24135 Separate geometry from tag. 2016-05-06 14:58:09 +02:00
Oscar Lorentzon
6e1820a999 Different classes for rect and polygon geometries. 2016-05-04 14:46:20 +02:00
Oscar Lorentzon
5c6bab840a Move tag rect logic to tag class methods. 2016-05-04 13:45:16 +02:00
Oscar Lorentzon
757b1824fc Tag label type enum for text or icon. 2016-04-14 15:44:38 +02:00
Oscar Lorentzon
922d4daab1 Editable property on tag.
Render resize and move handler if tag is editable.
2016-04-13 15:26:36 +02:00
Oscar Lorentzon
01e8a49253 Fire tag changed event.
Fire tag changed event every time a tage is moved or
resized.
2016-04-12 17:51:52 +02:00
Oscar Lorentzon
3cf5ce38e9 Set tags through component API.
Do not fetch tags in component.
Add debug page for tags.
2016-04-12 08:50:13 +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
Kamil Nikel
72e3a1bdfa Fix CSS bundling process, update debug URLs 2016-01-18 12:14:23 +01:00
Kamil Nikel
34fe3b8502 Add CoverUI example to /debug 2016-01-18 10:13:48 +01:00