1
+ module . exports = {
2
+ INFORMATION_BOX : {
3
+ id : 'information-box' ,
4
+ label : 'KInformationBox.LABEL' ,
5
+ icon : 'las la-digital-tachograph' ,
6
+ scrollable : true ,
7
+ content : { component : 'widget/KInformationBox' } ,
8
+ header : [ {
9
+ id : 'center-view' ,
10
+ icon : 'las la-eye' ,
11
+ tooltip : 'KInformationBox.CENTER_ON' ,
12
+ visible : 'hasFeature' ,
13
+ handler : 'onCenterOn'
14
+ } , {
15
+ id : 'copy-properties' ,
16
+ icon : 'las la-clipboard' ,
17
+ tooltip : 'KInformationBox.COPY_PROPERTIES' ,
18
+ visible : 'hasProperties' ,
19
+ handler : 'onCopyProperties'
20
+ } , {
21
+ id : 'export-feature' ,
22
+ icon : 'kdk:json.svg' ,
23
+ tooltip : 'KInformationBox.EXPORT_FEATURE' ,
24
+ visible : 'hasFeature' ,
25
+ handler : 'onExportFeature'
26
+ } ]
27
+ } ,
28
+ TIME_SERIES : {
29
+ id : 'time-series' ,
30
+ label : 'TimeSeries.LABEL' ,
31
+ icon : 'las la-chart-line' ,
32
+ content : { component : 'TimeSeries' } ,
33
+ header : [ { component : 'TimeSeriesToolbar' } ]
34
+ } ,
35
+ ELEVATION_PROFILE : {
36
+ id : 'elevation-profile' ,
37
+ label : 'KElevationProfile.LABEL' ,
38
+ icon : 'las la-mountain' ,
39
+ content : { component : 'widget/KElevationProfile' } ,
40
+ header : [ {
41
+ id : 'center-view' ,
42
+ icon : 'las la-eye' ,
43
+ tooltip : 'KElevationProfile.CENTER_ON' ,
44
+ visible : 'hasFeature' ,
45
+ handler : 'onCenterOn'
46
+ } , {
47
+ id : 'copy-properties' ,
48
+ icon : 'las la-clipboard' ,
49
+ tooltip : 'KElevationProfile.COPY_PROFILE' ,
50
+ visible : 'hasProfile' ,
51
+ handler : 'onCopyProfile'
52
+ } , {
53
+ id : 'export-feature' ,
54
+ icon : 'kdk:json.svg' ,
55
+ tooltip : 'KElevationProfile.EXPORT_PROFILE' ,
56
+ visible : 'profile' ,
57
+ handler : 'onExportProfile'
58
+ } ]
59
+ } ,
60
+ MAPILLARY_VIEWER : {
61
+ id : 'mapillary-viewer' ,
62
+ label : 'KMapillaryViewer.LABEL' ,
63
+ icon : 'kdk:mapillary.png' ,
64
+ content : { component : 'widget/KMapillaryViewer' } ,
65
+ header : [ {
66
+ id : 'center' ,
67
+ icon : 'las la-eye' ,
68
+ tooltip : 'KMapillaryViewer.CENTER_ON' ,
69
+ visible : 'hasImage' ,
70
+ handler : 'centerMap'
71
+ } ]
72
+ }
73
+ }
0 commit comments