Oscar Lorentzon
a913a99a9f
feat: remove obsolete stats component
2020-11-06 17:22:06 +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
9cdc57b4d6
refactor(api): require data and geometry provider base params
2020-10-26 17:58:59 +01:00
Oscar Lorentzon
8e82214957
chore: update viewer ctor calls in debug pages
2020-10-08 17:37:50 +02:00
Oscar Lorentzon
81ec52e708
feat: add spatial debug page
2020-10-05 18:16:25 +02:00
Oscar Lorentzon
e90702647c
feat(tag): allow rects to be created in any direction
...
Allow creating rectangles in any direction by both
dragging and clicking.
2017-09-24 11:38:45 +00:00
Oscar Lorentzon
55d1a41aad
refactor(tag): use viewport coords for create tag calc
...
Use viewport coords for calculations in create tag.
Use transform for pixel translations.
Round pixel translations to ensure that DOM rendered
elements are not blurred.
2017-08-04 06:25:02 +00:00
Oscar Lorentzon
83479a8750
refactor(tag): simplify tag mode
...
Add tag mode enum to merge two settings into one.
Use tag mode enum in component and creator.
Remove unused geometry type.
2017-06-19 11:41:02 +00:00
Oscar Lorentzon
7dd2ee9c50
refactor(tag): change tag component api
...
Add methods for adding, removing and getting tags.
Keep tags when deactivating.
Create render tags in tag set.
Remove set tags method.
Emit tag component on tags changed, tags
can be retrived with getAll method.
2017-06-19 11:40:49 +00:00
Oscar Lorentzon
448da3b08b
Enable stats component by default.
2017-03-24 10:59:00 +00:00
Oscar Lorentzon
63016a7851
Add markers in batches and log performance.
2017-03-23 21:42:41 +00:00
Oscar Lorentzon
090d1245ab
Structure and add comments to marker example.
2017-03-23 09:45:38 +00:00
Oscar Lorentzon
e085722974
Do not set properties equal to default values.
2017-03-21 09:56:58 +00:00
Oscar Lorentzon
bdb65fb4f0
Do not create new marker if an interactive marker was clicked.
2017-03-21 07:28:24 +00:00
Oscar Lorentzon
c152af1b9e
Hide indicator circle when dragging marker.
2017-03-21 06:50:23 +00:00
Oscar Lorentzon
06ca57e717
Keep markers dragged in map draggable in viewer.
2017-03-20 15:08:27 +00:00
Oscar Lorentzon
efcaa4037f
Make created markers draggable in debug page.
2017-03-20 11:54:35 +00:00
Oscar Lorentzon
06b1e65501
Add marker debug files.
2017-03-17 10:22:51 +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
b2000d08f5
Remove unused debug logic for tags.
2016-09-23 08:46:41 +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
91ec8c2a26
Make it possible to set color and size values to zero.
...
Make it possible to set icon and text properties to null.
Add set options methods on tags to be able to set multiple
properties at once.
2016-07-05 08:13:49 -04:00
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