qwc2 2025.5.7 → 2025.5.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actions/windows.js +1 -1
- package/components/IdentifyViewer.js +5 -5
- package/components/MapButton.js +7 -0
- package/components/PluginsContainer.js +7 -2
- package/components/SearchBox.js +10 -13
- package/components/StandardApp.js +2 -7
- package/components/map/layers/MVTLayer.js +1 -1
- package/components/map3d/Draw3D.js +2 -2
- package/components/map3d/HideObjects3D.js +5 -3
- package/components/map3d/Map3D.js +5 -5
- package/components/map3d/Map3DLight.js +1 -1
- package/components/map3d/MapControls3D.js +10 -8
- package/components/map3d/Measure3D.js +2 -2
- package/components/map3d/View3DSwitcher.js +1 -1
- package/components/map3d/drawtool/CreateTool3D.js +1 -1
- package/components/map3d/drawtool/EditTool3D.js +5 -4
- package/components/map3d/style/Draw3D.css +1 -13
- package/components/map3d/style/Map3D.css +1 -2
- package/components/map3d/style/Map3DLight.css +11 -3
- package/components/map3d/style/View3DSwitcher.css +8 -20
- package/components/map3d/utils/Tiles3DStyle.js +1 -2
- package/components/style/App.css +6 -1
- package/{plugins/style/Buttons.css → components/style/MapButton.css} +9 -27
- package/components/style/PluginsContainer.css +23 -2
- package/components/style/SearchBox.css +1 -2
- package/components/timeline/style/InfiniteTimeline.css +1 -0
- package/components/widgets/NumberInput.js +1 -1
- package/components/widgets/style/ButtonBar.css +0 -5
- package/components/widgets/style/MenuButton.css +1 -0
- package/components/widgets/style/NumberInput.css +0 -1
- package/components/widgets/style/ToggleSwitch.css +1 -0
- package/package.json +2 -2
- package/plugins/BackgroundSwitcher.js +3 -3
- package/plugins/HomeButton.js +2 -2
- package/plugins/Identify.js +1 -1
- package/plugins/LocateButton.js +2 -2
- package/plugins/MapExport.js +1 -1
- package/plugins/MapFilter.js +2 -2
- package/plugins/Measure.js +1 -1
- package/plugins/Panoramax.js +2 -8
- package/plugins/Redlining.js +2 -2
- package/plugins/Share.js +1 -1
- package/plugins/TaskButton.js +1 -1
- package/plugins/TopBar.js +2 -2
- package/plugins/View3D.js +4 -3
- package/plugins/ZoomButtons.js +2 -2
- package/plugins/style/BackgroundSwitcher.css +25 -21
- package/plugins/style/Bookmark.css +1 -1
- package/plugins/style/Editing.css +5 -1
- package/plugins/style/MapFilter.css +5 -1
- package/plugins/style/Measure.css +2 -6
- package/plugins/style/Panoramax.css +12 -4
- package/plugins/style/Redlining.css +12 -56
- package/plugins/style/Reports.css +4 -0
- package/plugins/style/Routing.css +1 -0
- package/plugins/style/ValueTool.css +4 -0
- package/reducers/windows.js +1 -1
- package/scripts/wmts_config_generator.py +3 -0
- package/static/translations/bg-BG.json +3 -0
- package/static/translations/ca-ES.json +3 -0
- package/static/translations/cs-CZ.json +3 -0
- package/static/translations/de-CH.json +4 -1
- package/static/translations/de-DE.json +4 -1
- package/static/translations/en-US.json +4 -1
- package/static/translations/es-ES.json +3 -0
- package/static/translations/fi-FI.json +3 -0
- package/static/translations/fr-FR.json +4 -1
- package/static/translations/hu-HU.json +3 -0
- package/static/translations/it-IT.json +4 -1
- package/static/translations/ja-JP.json +3 -0
- package/static/translations/nl-NL.json +3 -0
- package/static/translations/no-NO.json +3 -0
- package/static/translations/pl-PL.json +3 -0
- package/static/translations/pt-BR.json +3 -0
- package/static/translations/pt-PT.json +3 -0
- package/static/translations/ro-RO.json +3 -0
- package/static/translations/ru-RU.json +3 -0
- package/static/translations/sv-SE.json +3 -0
- package/static/translations/tr-TR.json +3 -0
- package/static/translations/tsconfig.json +3 -0
- package/utils/LayerUtils.js +1 -1
- package/utils/SearchProviders.js +2 -2
- package/utils/ServiceLayerUtils.js +1 -1
|
@@ -1,19 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
div.background-switcher {
|
|
2
2
|
position: absolute;
|
|
3
|
-
right:
|
|
4
|
-
bottom:
|
|
5
|
-
z-index: 3;
|
|
3
|
+
right: 100%;
|
|
4
|
+
bottom: -1em;
|
|
6
5
|
transform: scaleX(0);
|
|
7
6
|
transform-origin: right;
|
|
8
7
|
transition: transform 0.1s;
|
|
9
8
|
text-align: right;
|
|
9
|
+
display: flex;
|
|
10
|
+
width: calc(var(--buttons-container-width) - 4em);
|
|
11
|
+
flex-wrap: wrap;
|
|
12
|
+
justify-content: flex-end;
|
|
13
|
+
z-index: 1;
|
|
10
14
|
}
|
|
11
15
|
|
|
12
|
-
|
|
16
|
+
div.background-switcher-active {
|
|
13
17
|
transform: scaleX(1);
|
|
14
18
|
}
|
|
15
19
|
|
|
16
|
-
|
|
20
|
+
div.background-switcher-item {
|
|
17
21
|
background-color: var(--list-bg-color);
|
|
18
22
|
cursor: pointer;
|
|
19
23
|
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
|
|
@@ -24,33 +28,33 @@
|
|
|
24
28
|
position: relative;
|
|
25
29
|
}
|
|
26
30
|
|
|
27
|
-
|
|
31
|
+
div.background-switcher-item:hover {
|
|
28
32
|
border: 1px solid var(--color-active);
|
|
29
33
|
}
|
|
30
34
|
|
|
31
|
-
|
|
35
|
+
div.background-switcher-item:hover div.background-switcher-group {
|
|
32
36
|
display: block;
|
|
33
37
|
}
|
|
34
38
|
|
|
35
|
-
|
|
39
|
+
div.background-switcher-item-active {
|
|
36
40
|
border: 1px solid var(--color-active);
|
|
37
41
|
}
|
|
38
42
|
|
|
39
|
-
|
|
43
|
+
div.background-switcher-item-active div.background-switcher-item-title {
|
|
40
44
|
color: var(--color-active);
|
|
41
45
|
}
|
|
42
46
|
|
|
43
|
-
|
|
47
|
+
div.background-switcher-item-thumbnail {
|
|
44
48
|
height: 4em;
|
|
45
49
|
}
|
|
46
50
|
|
|
47
|
-
|
|
51
|
+
div.background-switcher-item-thumbnail > img {
|
|
48
52
|
width: 100%;
|
|
49
53
|
height: 100%;
|
|
50
54
|
}
|
|
51
55
|
|
|
52
|
-
|
|
53
|
-
|
|
56
|
+
div.background-switcher-item-title > span:first-child,
|
|
57
|
+
div.background-switcher-group > div {
|
|
54
58
|
font-weight: bold;
|
|
55
59
|
font-size: 80%;
|
|
56
60
|
text-align: center;
|
|
@@ -60,20 +64,20 @@
|
|
|
60
64
|
padding: 0.25em;
|
|
61
65
|
}
|
|
62
66
|
|
|
63
|
-
|
|
67
|
+
div.background-switcher-item-title {
|
|
64
68
|
display: flex;
|
|
65
69
|
align-items: center;
|
|
66
70
|
}
|
|
67
71
|
|
|
68
|
-
|
|
72
|
+
div.background-switcher-item-title span:first-child {
|
|
69
73
|
flex: 1 1 auto;
|
|
70
74
|
}
|
|
71
75
|
|
|
72
|
-
|
|
76
|
+
div.background-switcher-item-title span.icon {
|
|
73
77
|
flex: 0 0 auto;
|
|
74
78
|
}
|
|
75
79
|
|
|
76
|
-
|
|
80
|
+
div.background-switcher-group {
|
|
77
81
|
display: none;
|
|
78
82
|
position: absolute;
|
|
79
83
|
bottom: calc(100% + 1px);
|
|
@@ -83,17 +87,17 @@
|
|
|
83
87
|
clip-path: inset(-8px -8px 0 -8px);
|
|
84
88
|
}
|
|
85
89
|
|
|
86
|
-
|
|
90
|
+
div.background-switcher-group-item:hover {
|
|
87
91
|
background-color: var(--list-item-bg-color-hover);
|
|
88
92
|
color: var(--list-item-text-color-hover);
|
|
89
93
|
}
|
|
90
94
|
|
|
91
|
-
|
|
95
|
+
div.background-switcher-group-item-active {
|
|
92
96
|
background-color: var(--list-item-bg-color-active);
|
|
93
97
|
color: var(--list-item-text-color-active);
|
|
94
98
|
}
|
|
95
99
|
|
|
96
|
-
|
|
100
|
+
div.background-switcher-group-item-active:hover {
|
|
97
101
|
background-color: var(--list-item-bg-color-active-hover);
|
|
98
102
|
color: var(--list-item-text-color-active-hover);
|
|
99
103
|
}
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
padding: 0.25em;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
#Editing div.editing-body > div:not(:last-child) {
|
|
19
|
+
margin-bottom: 0.25em;
|
|
20
|
+
}
|
|
21
|
+
|
|
18
22
|
#Editing div.editing-body > div.editing-layer-selection,
|
|
19
23
|
#Editing div.editing-body > div.editing-feature-selection,
|
|
20
24
|
#Editing div.editing-body > div.ButtonBar {
|
|
@@ -22,7 +26,7 @@
|
|
|
22
26
|
}
|
|
23
27
|
|
|
24
28
|
#Editing div.editing-body > div.AttributeForm {
|
|
25
|
-
margin-top: 0.
|
|
29
|
+
margin-top: 0.25em;
|
|
26
30
|
padding-top: 0.5em;
|
|
27
31
|
border-top: 1px solid var(--border-color);
|
|
28
32
|
flex: 1 1 auto;
|
|
@@ -29,6 +29,10 @@
|
|
|
29
29
|
padding: 0.25em;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
#MapFilter div.map-filter-entry-body > div:not(:last-child) {
|
|
33
|
+
margin-bottom: 0.25em;
|
|
34
|
+
}
|
|
35
|
+
|
|
32
36
|
#MapFilter div.map-filter-invalid-warning {
|
|
33
37
|
background-color: orange;
|
|
34
38
|
display: flex;
|
|
@@ -59,7 +63,7 @@
|
|
|
59
63
|
}
|
|
60
64
|
|
|
61
65
|
#MapFilter div.map-filter-add-custom {
|
|
62
|
-
|
|
66
|
+
margin: 0 0.25em 0.25em 0.25em;
|
|
63
67
|
}
|
|
64
68
|
|
|
65
69
|
#MapFilter div.map-filter-custom-entry-titlebar {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
div.measure-
|
|
1
|
+
div.measure-result {
|
|
2
2
|
margin-top: 0.25em;
|
|
3
|
-
white-space: nowrap;
|
|
4
|
-
overflow: visible;
|
|
5
|
-
min-width: 17.5em;
|
|
6
|
-
display: flex;
|
|
7
3
|
}
|
|
8
4
|
|
|
9
|
-
input.measure-result {
|
|
5
|
+
input.measure-result-field {
|
|
10
6
|
flex: 1 1 auto;
|
|
11
7
|
text-align: center;
|
|
12
8
|
field-sizing: content;
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
div.panoramax-body {
|
|
2
|
-
height:
|
|
2
|
+
height: 100%;
|
|
3
3
|
position: relative;
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
|
-
|
|
6
|
+
width: 100%;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
div.panoramax-body .
|
|
9
|
+
div.panoramax-body .pnx-psv-tour-arrows {
|
|
10
10
|
all: unset;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
div.panoramax-body .gvs-btn:focus{
|
|
13
|
+
div.panoramax-body .gvs-btn:focus {
|
|
14
14
|
outline: none;
|
|
15
15
|
}
|
|
16
|
+
|
|
17
|
+
.panoramax-widget {
|
|
18
|
+
background-color: rgba(255, 255, 255, 0.7);
|
|
19
|
+
color: #333;
|
|
20
|
+
font-weight: bolder;
|
|
21
|
+
padding: 10px;
|
|
22
|
+
border-radius: 5px;
|
|
23
|
+
}
|
|
@@ -1,81 +1,36 @@
|
|
|
1
|
-
div.
|
|
2
|
-
width: 100%;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
div.redlining-buttongroups {
|
|
1
|
+
div.redlining-controlsbar {
|
|
6
2
|
display: flex;
|
|
7
|
-
|
|
8
|
-
margin: 0 -0.125em;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
div.redlining-separator {
|
|
12
|
-
border-bottom: 1px solid var(--border-color);
|
|
13
|
-
margin-bottom: 0.25em;
|
|
3
|
+
margin: 0.25em 0;
|
|
14
4
|
}
|
|
15
5
|
|
|
16
|
-
div.redlining-
|
|
17
|
-
|
|
18
|
-
flex: 1 1 auto;
|
|
6
|
+
div.redlining-groupcontrol {
|
|
7
|
+
flex: 0 0 auto;
|
|
19
8
|
margin: 0 0.125em;
|
|
20
9
|
}
|
|
21
10
|
|
|
22
|
-
div.redlining-
|
|
11
|
+
div.redlining-groupcontrol > div:first-child {
|
|
23
12
|
font-size: 85%;
|
|
24
13
|
text-align: center;
|
|
25
14
|
}
|
|
26
15
|
|
|
27
|
-
div.redlining-group > div:last-child {
|
|
28
|
-
margin: 0.25em 0;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
div.redlining-group > div {
|
|
32
|
-
white-space: nowrap;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
div.redlining-group > span {
|
|
36
|
-
display: flex;
|
|
37
|
-
justify-content: center;
|
|
38
|
-
margin: auto;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
div.redlining-group > span > * {
|
|
42
|
-
flex: 1 0 auto;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
div.redlining-export-menu {
|
|
46
|
-
height: 2em;
|
|
47
|
-
margin: 0.25em 0;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
16
|
div.redlining-export-menu-entry {
|
|
51
17
|
font-size: 90%;
|
|
52
18
|
}
|
|
53
19
|
|
|
54
|
-
div.redlining-
|
|
20
|
+
div.redlining-control {
|
|
55
21
|
display: flex;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
div.redlining-controlsbar > span {
|
|
59
|
-
display: inline-flex;
|
|
60
22
|
flex: 0 0 auto;
|
|
61
23
|
align-items: center;
|
|
62
24
|
justify-content: center;
|
|
63
|
-
margin: 0 0.
|
|
25
|
+
margin: 0 0.125em;
|
|
64
26
|
}
|
|
65
27
|
|
|
66
|
-
div.redlining-
|
|
67
|
-
div.redlining-controlsbar select.redlining-unit {
|
|
28
|
+
div.redlining-control-fill {
|
|
68
29
|
flex: 1 1 auto;
|
|
69
|
-
width: 0;
|
|
70
|
-
min-width: 5em;
|
|
71
30
|
}
|
|
72
31
|
|
|
73
|
-
div.redlining-
|
|
74
|
-
|
|
75
|
-
margin-top: 0.25em;
|
|
76
|
-
padding-top: 0.25em;
|
|
77
|
-
font-size: 90%;
|
|
78
|
-
font-style: italic;
|
|
32
|
+
div.redlining-control-fill > div.controlgroup {
|
|
33
|
+
flex: 1 1 auto;
|
|
79
34
|
}
|
|
80
35
|
|
|
81
36
|
span.redlining-control-icon {
|
|
@@ -96,6 +51,7 @@ div.redlining-marker-combo-entry img {
|
|
|
96
51
|
}
|
|
97
52
|
|
|
98
53
|
div.redlining-message {
|
|
54
|
+
font-size: 90%;
|
|
99
55
|
text-align: center;
|
|
100
56
|
font-style: italic;
|
|
101
|
-
}
|
|
57
|
+
}
|
package/reducers/windows.js
CHANGED
|
@@ -4,4 +4,4 @@ function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof
|
|
|
4
4
|
*
|
|
5
5
|
* This source code is licensed under the BSD-style license found in the
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/import{SHOW_IFRAME_DIALOG,SHOW_NOTIFICATION,CLOSE_WINDOW,CLOSE_ALL_WINDOWS,REGISTER_WINDOW,UNREGISTER_WINDOW,RAISE_WINDOW,SET_SPLIT_SCREEN,SET_MENU_MARGIN,SET_TOPBAR_HEIGHT,SET_BOTTOMBAR_HEIGHT}from"../actions/windows";var defaultState={stacking:[],splitScreen:{},mapMargins:{left:0,top:0,right:0,bottom:0},windowMargins:{left:0,top:0,right:0,bottom:0},menuMargins:{left:0,right:0},topbarHeight:0,bottombarHeight:0,entries:{}};function computeMapMargins(windowMargins,menuMargins){return{left:windowMargins.left+menuMargins.left,top:windowMargins.top,right:windowMargins.right+menuMargins.right,bottom:windowMargins.bottom,splitTopAndBottomBar:windowMargins.splitTopAndBottomBar}}export default function windows(){var state=arguments.length>0&&arguments[0]!==undefined?arguments[0]:defaultState;var action=arguments.length>1?arguments[1]:undefined;switch(action.type){case SHOW_IFRAME_DIALOG:{return _objectSpread(_objectSpread({},state),{},{entries:_objectSpread(_objectSpread({},state.entries),{},_defineProperty({},action.name,{type:"iframedialog",url:action.url,options:action.options||{}}))})}case SHOW_NOTIFICATION:{return _objectSpread(_objectSpread({},state),{},{entries:_objectSpread(_objectSpread({},state.entries),{},_defineProperty({},action.name,{type:"notification",text:action.text,notificationType:action.notificationType,sticky:action.sticky}))})}case CLOSE_WINDOW:{var newState=_objectSpread(_objectSpread({},state),{},{entries:_objectSpread({},state.entries)});delete newState.entries[action.name];return newState}case CLOSE_ALL_WINDOWS:{return _objectSpread(_objectSpread({},state),{},{entries:Object.entries(state.entries).reduce(function(res,_ref){var _ref2=_slicedToArray(_ref,2),name=_ref2[0],entry=_ref2[1];if(entry.sticky){res[name]=entry}return res},{})})}case REGISTER_WINDOW:{return _objectSpread(_objectSpread({},state),{},{stacking:[].concat(_toConsumableArray(state.stacking),[action.id])})}case UNREGISTER_WINDOW:{return _objectSpread(_objectSpread({},state),{},{stacking:state.stacking.filter(function(x){return x!==action.id})})}case RAISE_WINDOW:{return _objectSpread(_objectSpread({},state),{},{stacking:[].concat(_toConsumableArray(state.stacking.filter(function(x){return x!==action.id})),[action.id])})}case SET_SPLIT_SCREEN:{var newSplitScreen=_objectSpread({},state.splitScreen);if(action.side===null){delete newSplitScreen[action.windowId]}else{newSplitScreen[action.windowId]={side:action.side,size:action.size,splitTopAndBottomBar:action.splitTopAndBottomBar}}var splitWindows=Object.values(newSplitScreen);var windowMargins={right:splitWindows.filter(function(entry){return entry.side==="right"}).reduce(function(res,e){return Math.max(e.size,res)},0),bottom:splitWindows.filter(function(entry){return entry.side==="bottom"}).reduce(function(res,e){return Math.max(e.size,res)},0),left:splitWindows.filter(function(entry){return entry.side==="left"}).reduce(function(res,e){return Math.max(e.size,res)},0),top:splitWindows.filter(function(entry){return entry.side==="top"}).reduce(function(res,e){return Math.max(e.size,res)},0),splitTopAndBottomBar:splitWindows.find(function(x){return x.splitTopAndBottomBar===true})};return _objectSpread(_objectSpread({},state),{},{splitScreen:newSplitScreen,windowMargins:windowMargins,mapMargins:computeMapMargins(windowMargins,state.menuMargins)})}case SET_MENU_MARGIN:{var menuMargins={right:action.right,left:action.left};return _objectSpread(_objectSpread({},state),{},{menuMargins:menuMargins,mapMargins:computeMapMargins(state.windowMargins,menuMargins)})}case SET_TOPBAR_HEIGHT:{return _objectSpread(_objectSpread({},state),{},{topbarHeight:action.height})}case SET_BOTTOMBAR_HEIGHT:{return _objectSpread(_objectSpread({},state),{},{bottombarHeight:action.height})}default:return state}}
|
|
7
|
+
*/import{SHOW_IFRAME_DIALOG,SHOW_NOTIFICATION,CLOSE_WINDOW,CLOSE_ALL_WINDOWS,REGISTER_WINDOW,UNREGISTER_WINDOW,RAISE_WINDOW,SET_SPLIT_SCREEN,SET_MENU_MARGIN,SET_TOPBAR_HEIGHT,SET_BOTTOMBAR_HEIGHT}from"../actions/windows";var defaultState={stacking:[],splitScreen:{},mapMargins:{left:0,top:0,right:0,bottom:0},windowMargins:{left:0,top:0,right:0,bottom:0},menuMargins:{left:0,right:0},topbarHeight:0,bottombarHeight:0,entries:{}};function computeMapMargins(windowMargins,menuMargins){return{left:windowMargins.left+menuMargins.left,top:windowMargins.top,right:windowMargins.right+menuMargins.right,bottom:windowMargins.bottom,splitTopAndBottomBar:windowMargins.splitTopAndBottomBar}}export default function windows(){var state=arguments.length>0&&arguments[0]!==undefined?arguments[0]:defaultState;var action=arguments.length>1?arguments[1]:undefined;switch(action.type){case SHOW_IFRAME_DIALOG:{return _objectSpread(_objectSpread({},state),{},{entries:_objectSpread(_objectSpread({},state.entries),{},_defineProperty({},action.name,{type:"iframedialog",url:action.url,options:action.options||{}}))})}case SHOW_NOTIFICATION:{return _objectSpread(_objectSpread({},state),{},{entries:_objectSpread(_objectSpread({},state.entries),{},_defineProperty({},action.name,{type:"notification",text:action.text,notificationType:action.notificationType,sticky:action.sticky}))})}case CLOSE_WINDOW:{var newState=_objectSpread(_objectSpread({},state),{},{entries:_objectSpread({},state.entries)});delete newState.entries[action.name];return newState}case CLOSE_ALL_WINDOWS:{return _objectSpread(_objectSpread({},state),{},{entries:Object.entries(state.entries).reduce(function(res,_ref){var _ref2=_slicedToArray(_ref,2),name=_ref2[0],entry=_ref2[1];if(entry.sticky){res[name]=entry}return res},{})})}case REGISTER_WINDOW:{return _objectSpread(_objectSpread({},state),{},{stacking:[].concat(_toConsumableArray(state.stacking),[action.id])})}case UNREGISTER_WINDOW:{return _objectSpread(_objectSpread({},state),{},{stacking:state.stacking.filter(function(x){return x!==action.id})})}case RAISE_WINDOW:{return _objectSpread(_objectSpread({},state),{},{stacking:[].concat(_toConsumableArray(state.stacking.filter(function(x){return x!==action.id})),[action.id])})}case SET_SPLIT_SCREEN:{var newSplitScreen=_objectSpread({},state.splitScreen);if(action.side===null){delete newSplitScreen[action.windowId]}else{newSplitScreen[action.windowId]={side:action.side,size:action.size,splitTopAndBottomBar:action.splitTopAndBottomBar}}var splitWindows=Object.values(newSplitScreen);var windowMargins={right:splitWindows.filter(function(entry){return entry.side==="right"}).reduce(function(res,e){return Math.max(e.size,res)},0),bottom:splitWindows.filter(function(entry){return entry.side==="bottom"}).reduce(function(res,e){return Math.max(e.size,res)},0),left:splitWindows.filter(function(entry){return entry.side==="left"}).reduce(function(res,e){return Math.max(e.size,res)},0),top:splitWindows.filter(function(entry){return entry.side==="top"}).reduce(function(res,e){return Math.max(e.size,res)},0),splitTopAndBottomBar:splitWindows.find(function(x){return x.splitTopAndBottomBar===true})};return _objectSpread(_objectSpread({},state),{},{splitScreen:newSplitScreen,windowMargins:windowMargins,mapMargins:computeMapMargins(windowMargins,state.menuMargins)})}case SET_MENU_MARGIN:{var menuMargins={right:action.right,left:action.left};return _objectSpread(_objectSpread({},state),{},{menuMargins:menuMargins,mapMargins:computeMapMargins(state.windowMargins,menuMargins)})}case SET_TOPBAR_HEIGHT:{if(action.height<=0){return state}document.querySelector(":root").style.setProperty("--topbar-height",action.height+"px");return _objectSpread(_objectSpread({},state),{},{topbarHeight:action.height})}case SET_BOTTOMBAR_HEIGHT:{if(action.height<=0){return state}document.querySelector(":root").style.setProperty("--bottombar-height",action.height+"px");return _objectSpread(_objectSpread({},state),{},{bottombarHeight:action.height})}default:return state}}
|
|
@@ -110,8 +110,10 @@ tileSize = [
|
|
|
110
110
|
int(getFirstElementValueByTagName(tileMatrix[0], "TileWidth")),
|
|
111
111
|
int(getFirstElementValueByTagName(tileMatrix[0], "TileHeight"))
|
|
112
112
|
]
|
|
113
|
+
matrixIds = []
|
|
113
114
|
resolutions = []
|
|
114
115
|
for entry in tileMatrix:
|
|
116
|
+
matrixIds.append(getFirstElementValueByTagName(entry, "ows:Identifier"))
|
|
115
117
|
scaleDenominator = getFirstElementValueByTagName(entry, "ScaleDenominator")
|
|
116
118
|
# 0.00028: assumed pixel width in meters, as per WMTS standard
|
|
117
119
|
resolutions.append(float(scaleDenominator) * 0.00028)
|
|
@@ -162,6 +164,7 @@ result = {
|
|
|
162
164
|
"tileSize": tileSize,
|
|
163
165
|
"style": styleIdentifier,
|
|
164
166
|
"bbox": bbox,
|
|
167
|
+
"matrixIds": matrixIds,
|
|
165
168
|
"resolutions": resolutions,
|
|
166
169
|
"thumbnail": layerName + ".jpg",
|
|
167
170
|
}
|
|
@@ -129,7 +129,9 @@
|
|
|
129
129
|
"title": "Cyclomedia Viewer"
|
|
130
130
|
},
|
|
131
131
|
"draw3d": {
|
|
132
|
+
"clone": "",
|
|
132
133
|
"cone": "Конус",
|
|
134
|
+
"ctrlhint": "",
|
|
133
135
|
"cuboid": "Кубоид",
|
|
134
136
|
"cylinder": "Цилиндър",
|
|
135
137
|
"delete": "Изтриване на",
|
|
@@ -328,6 +330,7 @@
|
|
|
328
330
|
"resetrotation": "Нулиране на въртенето"
|
|
329
331
|
},
|
|
330
332
|
"map3d": {
|
|
333
|
+
"lockview": "",
|
|
331
334
|
"syncview": "Синхронизиране на изгледа",
|
|
332
335
|
"terrain": "Земя",
|
|
333
336
|
"title": "3D изглед"
|
|
@@ -129,7 +129,9 @@
|
|
|
129
129
|
"title": ""
|
|
130
130
|
},
|
|
131
131
|
"draw3d": {
|
|
132
|
+
"clone": "",
|
|
132
133
|
"cone": "",
|
|
134
|
+
"ctrlhint": "",
|
|
133
135
|
"cuboid": "",
|
|
134
136
|
"cylinder": "",
|
|
135
137
|
"delete": "",
|
|
@@ -328,6 +330,7 @@
|
|
|
328
330
|
"resetrotation": "Reiniciar rotació"
|
|
329
331
|
},
|
|
330
332
|
"map3d": {
|
|
333
|
+
"lockview": "",
|
|
331
334
|
"syncview": "",
|
|
332
335
|
"terrain": "",
|
|
333
336
|
"title": ""
|
|
@@ -129,7 +129,9 @@
|
|
|
129
129
|
"title": "Cyclomedia"
|
|
130
130
|
},
|
|
131
131
|
"draw3d": {
|
|
132
|
+
"clone": "",
|
|
132
133
|
"cone": "",
|
|
134
|
+
"ctrlhint": "",
|
|
133
135
|
"cuboid": "",
|
|
134
136
|
"cylinder": "",
|
|
135
137
|
"delete": "",
|
|
@@ -328,6 +330,7 @@
|
|
|
328
330
|
"resetrotation": "Obnovit orientaci mapy"
|
|
329
331
|
},
|
|
330
332
|
"map3d": {
|
|
333
|
+
"lockview": "",
|
|
331
334
|
"syncview": "",
|
|
332
335
|
"terrain": "",
|
|
333
336
|
"title": ""
|
|
@@ -129,7 +129,9 @@
|
|
|
129
129
|
"title": "Cyclomedia Viewer"
|
|
130
130
|
},
|
|
131
131
|
"draw3d": {
|
|
132
|
+
"clone": "Kopieren",
|
|
132
133
|
"cone": "Kegel",
|
|
134
|
+
"ctrlhint": "Mehrfachselektion mit Ctrl...",
|
|
133
135
|
"cuboid": "Quader",
|
|
134
136
|
"cylinder": "Zylinder",
|
|
135
137
|
"delete": "Löschen",
|
|
@@ -328,7 +330,8 @@
|
|
|
328
330
|
"resetrotation": "Drehung zurücksetzen"
|
|
329
331
|
},
|
|
330
332
|
"map3d": {
|
|
331
|
-
"
|
|
333
|
+
"lockview": "Mit 2D Ansicht verschieben",
|
|
334
|
+
"syncview": "Mit 2D Ansicht synchronisieren",
|
|
332
335
|
"terrain": "Gelände",
|
|
333
336
|
"title": "3D Ansicht"
|
|
334
337
|
},
|
|
@@ -129,7 +129,9 @@
|
|
|
129
129
|
"title": "Cyclomedia Viewer"
|
|
130
130
|
},
|
|
131
131
|
"draw3d": {
|
|
132
|
+
"clone": "Kopieren",
|
|
132
133
|
"cone": "Kegel",
|
|
134
|
+
"ctrlhint": "Mehrfachselektion mit Ctrl...",
|
|
133
135
|
"cuboid": "Quader",
|
|
134
136
|
"cylinder": "Zylinder",
|
|
135
137
|
"delete": "Löschen",
|
|
@@ -328,7 +330,8 @@
|
|
|
328
330
|
"resetrotation": "Drehung zurücksetzen"
|
|
329
331
|
},
|
|
330
332
|
"map3d": {
|
|
331
|
-
"
|
|
333
|
+
"lockview": "Mit 2D Ansicht verschieben",
|
|
334
|
+
"syncview": "Mit 2D Ansicht synchronisieren",
|
|
332
335
|
"terrain": "Gelände",
|
|
333
336
|
"title": "3D Ansicht"
|
|
334
337
|
},
|
|
@@ -129,7 +129,9 @@
|
|
|
129
129
|
"title": "Cyclomedia Viewer"
|
|
130
130
|
},
|
|
131
131
|
"draw3d": {
|
|
132
|
+
"clone": "Clone",
|
|
132
133
|
"cone": "Cone",
|
|
134
|
+
"ctrlhint": "Use Ctrl for multiselection...",
|
|
133
135
|
"cuboid": "Cuboid",
|
|
134
136
|
"cylinder": "Cylinder",
|
|
135
137
|
"delete": "Delete",
|
|
@@ -328,7 +330,8 @@
|
|
|
328
330
|
"resetrotation": "Reset rotation"
|
|
329
331
|
},
|
|
330
332
|
"map3d": {
|
|
331
|
-
"
|
|
333
|
+
"lockview": "Move with 2D view",
|
|
334
|
+
"syncview": "Synchronize with 2D view",
|
|
332
335
|
"terrain": "Terrain",
|
|
333
336
|
"title": "3D View"
|
|
334
337
|
},
|
|
@@ -129,7 +129,9 @@
|
|
|
129
129
|
"title": ""
|
|
130
130
|
},
|
|
131
131
|
"draw3d": {
|
|
132
|
+
"clone": "",
|
|
132
133
|
"cone": "",
|
|
134
|
+
"ctrlhint": "",
|
|
133
135
|
"cuboid": "",
|
|
134
136
|
"cylinder": "",
|
|
135
137
|
"delete": "",
|
|
@@ -328,6 +330,7 @@
|
|
|
328
330
|
"resetrotation": "Reiniciar rotación"
|
|
329
331
|
},
|
|
330
332
|
"map3d": {
|
|
333
|
+
"lockview": "",
|
|
331
334
|
"syncview": "",
|
|
332
335
|
"terrain": "",
|
|
333
336
|
"title": ""
|
|
@@ -129,7 +129,9 @@
|
|
|
129
129
|
"title": ""
|
|
130
130
|
},
|
|
131
131
|
"draw3d": {
|
|
132
|
+
"clone": "",
|
|
132
133
|
"cone": "",
|
|
134
|
+
"ctrlhint": "",
|
|
133
135
|
"cuboid": "",
|
|
134
136
|
"cylinder": "",
|
|
135
137
|
"delete": "",
|
|
@@ -328,6 +330,7 @@
|
|
|
328
330
|
"resetrotation": ""
|
|
329
331
|
},
|
|
330
332
|
"map3d": {
|
|
333
|
+
"lockview": "",
|
|
331
334
|
"syncview": "",
|
|
332
335
|
"terrain": "",
|
|
333
336
|
"title": ""
|
|
@@ -129,7 +129,9 @@
|
|
|
129
129
|
"title": "Visualiseur Cyclomedia"
|
|
130
130
|
},
|
|
131
131
|
"draw3d": {
|
|
132
|
+
"clone": "Copier",
|
|
132
133
|
"cone": "Cône",
|
|
134
|
+
"ctrlhint": "Ctrl pour sélection multiple...",
|
|
133
135
|
"cuboid": "Cuboïde",
|
|
134
136
|
"cylinder": "Cylindre",
|
|
135
137
|
"delete": "Effacer",
|
|
@@ -328,7 +330,8 @@
|
|
|
328
330
|
"resetrotation": "Réinitialiser la rotation"
|
|
329
331
|
},
|
|
330
332
|
"map3d": {
|
|
331
|
-
"
|
|
333
|
+
"lockview": "Déplacer avec vue 2D",
|
|
334
|
+
"syncview": "Synchroniser avec vue 2D",
|
|
332
335
|
"terrain": "Terrain",
|
|
333
336
|
"title": "Vue 3D"
|
|
334
337
|
},
|
|
@@ -129,7 +129,9 @@
|
|
|
129
129
|
"title": ""
|
|
130
130
|
},
|
|
131
131
|
"draw3d": {
|
|
132
|
+
"clone": "",
|
|
132
133
|
"cone": "",
|
|
134
|
+
"ctrlhint": "",
|
|
133
135
|
"cuboid": "",
|
|
134
136
|
"cylinder": "",
|
|
135
137
|
"delete": "",
|
|
@@ -328,6 +330,7 @@
|
|
|
328
330
|
"resetrotation": ""
|
|
329
331
|
},
|
|
330
332
|
"map3d": {
|
|
333
|
+
"lockview": "",
|
|
331
334
|
"syncview": "",
|
|
332
335
|
"terrain": "",
|
|
333
336
|
"title": ""
|
|
@@ -129,7 +129,9 @@
|
|
|
129
129
|
"title": "Visualizzatore Cyclomedia"
|
|
130
130
|
},
|
|
131
131
|
"draw3d": {
|
|
132
|
+
"clone": "Copia",
|
|
132
133
|
"cone": "Cono",
|
|
134
|
+
"ctrlhint": "Ctrl per selezione multipla...",
|
|
133
135
|
"cuboid": "Cuboide",
|
|
134
136
|
"cylinder": "Cilindro",
|
|
135
137
|
"delete": "Elimina",
|
|
@@ -328,7 +330,8 @@
|
|
|
328
330
|
"resetrotation": "Resetta orientamento"
|
|
329
331
|
},
|
|
330
332
|
"map3d": {
|
|
331
|
-
"
|
|
333
|
+
"lockview": "Muovi con visuale 2D",
|
|
334
|
+
"syncview": "Sincronizza con visuale 2D",
|
|
332
335
|
"terrain": "Terreno",
|
|
333
336
|
"title": "Visuale 3D"
|
|
334
337
|
},
|
|
@@ -129,7 +129,9 @@
|
|
|
129
129
|
"title": "Cyclomedia ビューワ"
|
|
130
130
|
},
|
|
131
131
|
"draw3d": {
|
|
132
|
+
"clone": "",
|
|
132
133
|
"cone": "円錐",
|
|
134
|
+
"ctrlhint": "",
|
|
133
135
|
"cuboid": "直方体",
|
|
134
136
|
"cylinder": "円柱",
|
|
135
137
|
"delete": "削除",
|
|
@@ -328,6 +330,7 @@
|
|
|
328
330
|
"resetrotation": "回転をリセット"
|
|
329
331
|
},
|
|
330
332
|
"map3d": {
|
|
333
|
+
"lockview": "",
|
|
331
334
|
"syncview": "ビューを同期",
|
|
332
335
|
"terrain": "地形",
|
|
333
336
|
"title": "3D ビュー"
|
|
@@ -129,7 +129,9 @@
|
|
|
129
129
|
"title": "Cyclomedia Viewer"
|
|
130
130
|
},
|
|
131
131
|
"draw3d": {
|
|
132
|
+
"clone": "",
|
|
132
133
|
"cone": "",
|
|
134
|
+
"ctrlhint": "",
|
|
133
135
|
"cuboid": "",
|
|
134
136
|
"cylinder": "",
|
|
135
137
|
"delete": "",
|
|
@@ -328,6 +330,7 @@
|
|
|
328
330
|
"resetrotation": "Rotatie resetten"
|
|
329
331
|
},
|
|
330
332
|
"map3d": {
|
|
333
|
+
"lockview": "",
|
|
331
334
|
"syncview": "",
|
|
332
335
|
"terrain": "",
|
|
333
336
|
"title": ""
|
|
@@ -129,7 +129,9 @@
|
|
|
129
129
|
"title": ""
|
|
130
130
|
},
|
|
131
131
|
"draw3d": {
|
|
132
|
+
"clone": "",
|
|
132
133
|
"cone": "",
|
|
134
|
+
"ctrlhint": "",
|
|
133
135
|
"cuboid": "",
|
|
134
136
|
"cylinder": "",
|
|
135
137
|
"delete": "",
|
|
@@ -328,6 +330,7 @@
|
|
|
328
330
|
"resetrotation": ""
|
|
329
331
|
},
|
|
330
332
|
"map3d": {
|
|
333
|
+
"lockview": "",
|
|
331
334
|
"syncview": "",
|
|
332
335
|
"terrain": "",
|
|
333
336
|
"title": ""
|