Skip to content

Commit 9e136aa

Browse files
authored
Fix #2188 Update CesiumJS version (#2191)
1 parent 7293322 commit 9e136aa

File tree

5 files changed

+59
-21
lines changed

5 files changed

+59
-21
lines changed

geonode_mapstore_client/client/js/utils/AppUtils.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -151,15 +151,6 @@ function setupLocale(locale) {
151151
.then((localeDataMod) => {
152152
const localeData = localeDataMod.default;
153153
addLocaleData([...localeData]);
154-
if (!global.Intl) {
155-
return import('intl')
156-
.then((intlMod) => {
157-
global.Intl = intlMod.default;
158-
return import(`intl/locale-data/jsonp/${locale}.js`).then(() => {
159-
return locale;
160-
});
161-
});
162-
}
163154
// setup locale for moment
164155
moment.locale(locale);
165156
return locale;

geonode_mapstore_client/client/themes/geonode/less/_base.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,4 +261,10 @@ div.chart-color-class-modal {
261261
white-space: nowrap;
262262
}
263263
}
264+
}
265+
266+
.page-viewer {
267+
footer {
268+
z-index: 10;
269+
}
264270
}

geonode_mapstore_client/client/themes/geonode/less/ms-theme.less

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,4 +417,12 @@ div#mapstore-globalspinner {
417417
.divider {
418418
margin: 0.25rem 0;
419419
}
420+
}
421+
422+
#navigationBar .mapToolbar {
423+
margin-bottom: 6px;
424+
}
425+
426+
#mapstore-map-footer #mapstore-mouseposition {
427+
height: auto;
420428
}

geonode_mapstore_client/static/mapstore/configs/localConfig.json

Lines changed: 41 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"md": 420
3232
},
3333
"bottom": {
34-
"sm": 30
34+
"sm": 0
3535
}
3636
}
3737
},
@@ -180,7 +180,10 @@
180180
}
181181
},
182182
{
183-
"name": "MapFooter"
183+
"name": "MapFooter",
184+
"cfg": {
185+
"containerPosition": "footer"
186+
}
184187
},
185188
{
186189
"name": "Notifications"
@@ -246,7 +249,10 @@
246249
}
247250
},
248251
{
249-
"name": "MapFooter"
252+
"name": "MapFooter",
253+
"cfg": {
254+
"containerPosition": "footer"
255+
}
250256
},
251257
{
252258
"name": "Timeline"
@@ -326,7 +332,10 @@
326332
"name": "Expander"
327333
},
328334
{
329-
"name": "MapFooter"
335+
"name": "MapFooter",
336+
"cfg": {
337+
"containerPosition": "footer"
338+
}
330339
},
331340
{
332341
"name": "Notifications"
@@ -409,7 +418,10 @@
409418
"name": "Expander"
410419
},
411420
{
412-
"name": "MapFooter"
421+
"name": "MapFooter",
422+
"cfg": {
423+
"containerPosition": "footer"
424+
}
413425
},
414426
{
415427
"name": "TOC",
@@ -753,7 +765,10 @@
753765
"name": "Expander"
754766
},
755767
{
756-
"name": "MapFooter"
768+
"name": "MapFooter",
769+
"cfg": {
770+
"containerPosition": "footer"
771+
}
757772
},
758773
{
759774
"name": "Measure"
@@ -1349,7 +1364,10 @@
13491364
"name": "ScaleBox"
13501365
},
13511366
{
1352-
"name": "MapFooter"
1367+
"name": "MapFooter",
1368+
"cfg": {
1369+
"containerPosition": "footer"
1370+
}
13531371
},
13541372
{
13551373
"name": "Notifications"
@@ -1409,7 +1427,10 @@
14091427
}
14101428
},
14111429
{
1412-
"name": "MapFooter"
1430+
"name": "MapFooter",
1431+
"cfg": {
1432+
"containerPosition": "footer"
1433+
}
14131434
},
14141435
{
14151436
"name": "Map",
@@ -1649,7 +1670,10 @@
16491670
"name": "Expander"
16501671
},
16511672
{
1652-
"name": "MapFooter"
1673+
"name": "MapFooter",
1674+
"cfg": {
1675+
"containerPosition": "footer"
1676+
}
16531677
},
16541678
{
16551679
"name": "Measure"
@@ -2918,7 +2942,10 @@
29182942
"name": "Expander"
29192943
},
29202944
{
2921-
"name": "MapFooter"
2945+
"name": "MapFooter",
2946+
"cfg": {
2947+
"containerPosition": "footer"
2948+
}
29222949
},
29232950
{
29242951
"name": "TOC",
@@ -3047,7 +3074,10 @@
30473074
"name": "Expander"
30483075
},
30493076
{
3050-
"name": "MapFooter"
3077+
"name": "MapFooter",
3078+
"cfg": {
3079+
"containerPosition": "footer"
3080+
}
30513081
},
30523082
{
30533083
"name": "Legend"

geonode_mapstore_client/static/mapstore/configs/pluginsConfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,10 @@
109109
{
110110
"name": "MapFooter",
111111
"mandatory": true,
112-
"hidden": true
112+
"hidden": true,
113+
"defaultConfig": {
114+
"containerPosition": "footer"
115+
}
113116
},
114117
{
115118
"name": "Widgets",

0 commit comments

Comments
 (0)