-
Notifications
You must be signed in to change notification settings - Fork 83
/
ISpatialDataConfiguration.ts
77 lines (69 loc) · 1.8 KB
/
ISpatialDataConfiguration.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
import {IComponentConfiguration} from "../../Component";
/**
* Interface for configuration of spatial data component.
*
* @interface
* @example
* ```
* var viewer = new Mapillary.Viewer('<element-id>', '<client-id>', '<image-key>',
* {
* component: {
* spatialData: {
* camerasVisible: true,
* connectedComponents: true,
* earthControls: true,
* pointsVisible: false,
* positionsVisible: true,
* tilesVisible: true,
* },
* },
* })
* ```
*/
export interface ISpatialDataConfiguration extends IComponentConfiguration {
/**
* Specify if the cameras should be visible or not.
*
* @default false
*/
camerasVisible?: boolean;
/**
* Specify if the camera should be controlled in earth
* mode.
*
* @description This is an experimental configuration property that
* may be removed in a future minor release.
*
* @default false
* @ignore
*/
earthControls?: boolean;
/**
* Specify if the color of the cameras should
* indicate the connected components they belong to.
*
* @description Only applicable when cameras are visible.
*
* @default false
*/
connectedComponents?: boolean;
/**
* Specify if the points should be visible or not.
*
* @default true
*/
pointsVisible?: boolean;
/**
* Specify if the original GPS positions should be visible or not.
*
* @default false
*/
positionsVisible?: boolean;
/**
* Specify if the currently rendered tiles should be indicted on the ground.
*
* @default false
*/
tilesVisible?: boolean;
}
export default ISpatialDataConfiguration;