@sapui5/sap.ui.vbm 1.119.0 → 1.121.0

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.
Files changed (95) hide show
  1. package/package.json +1 -1
  2. package/src/sap/ui/vbm/.library +1 -1
  3. package/src/sap/ui/vbm/Adapter.js +19 -19
  4. package/src/sap/ui/vbm/Adapter3D.js +7 -18
  5. package/src/sap/ui/vbm/AnalyticMap.js +3 -2
  6. package/src/sap/ui/vbm/ContainerBase.js +799 -0
  7. package/src/sap/ui/vbm/ContainerBaseRenderer.js +85 -0
  8. package/src/sap/ui/vbm/ContainerContent.js +82 -0
  9. package/src/sap/ui/vbm/ContainerContentRenderer.js +28 -0
  10. package/src/sap/ui/vbm/ContainerLegendItem.js +68 -0
  11. package/src/sap/ui/vbm/ContainerLegendItemRenderer.js +58 -0
  12. package/src/sap/ui/vbm/GeoMap.js +4 -4
  13. package/src/sap/ui/vbm/Legend.js +5 -3
  14. package/src/sap/ui/vbm/ListPanel.js +336 -0
  15. package/src/sap/ui/vbm/ListPanelRenderer.js +36 -0
  16. package/src/sap/ui/vbm/ListPanelStack.js +254 -0
  17. package/src/sap/ui/vbm/ListPanelStackRenderer.js +29 -0
  18. package/src/sap/ui/vbm/MapContainer.js +514 -0
  19. package/src/sap/ui/vbm/MapContainerButtonType.js +23 -0
  20. package/src/sap/ui/vbm/MapContainerRenderer.js +67 -0
  21. package/src/sap/ui/vbm/Viewport.js +1 -1
  22. package/src/sap/ui/vbm/VoAbstract.js +15 -1
  23. package/src/sap/ui/vbm/VoBase.js +4 -0
  24. package/src/sap/ui/vbm/adapter3d/DragDropHandler.js +1 -1
  25. package/src/sap/ui/vbm/adapter3d/ModelHandler.js +1 -1
  26. package/src/sap/ui/vbm/adapter3d/ObjectFactory.js +1 -1
  27. package/src/sap/ui/vbm/adapter3d/PolygonHandler.js +1 -1
  28. package/src/sap/ui/vbm/adapter3d/SceneBuilder.js +6 -5
  29. package/src/sap/ui/vbm/adapter3d/VBIJSONParser.js +10 -10
  30. package/src/sap/ui/vbm/getResourceBundle.js +14 -0
  31. package/src/sap/ui/vbm/i18n/messagebundle.properties +25 -0
  32. package/src/sap/ui/vbm/i18n/messagebundle_ar.properties +14 -0
  33. package/src/sap/ui/vbm/i18n/messagebundle_ca.properties +14 -0
  34. package/src/sap/ui/vbm/i18n/messagebundle_cnr.properties +14 -0
  35. package/src/sap/ui/vbm/i18n/messagebundle_cs.properties +14 -0
  36. package/src/sap/ui/vbm/i18n/messagebundle_cy.properties +14 -0
  37. package/src/sap/ui/vbm/i18n/messagebundle_da.properties +14 -0
  38. package/src/sap/ui/vbm/i18n/messagebundle_de.properties +14 -0
  39. package/src/sap/ui/vbm/i18n/messagebundle_el.properties +14 -0
  40. package/src/sap/ui/vbm/i18n/messagebundle_en.properties +13 -0
  41. package/src/sap/ui/vbm/i18n/messagebundle_en_GB.properties +14 -0
  42. package/src/sap/ui/vbm/i18n/messagebundle_en_US_sappsd.properties +14 -0
  43. package/src/sap/ui/vbm/i18n/messagebundle_en_US_saprigi.properties +14 -0
  44. package/src/sap/ui/vbm/i18n/messagebundle_en_US_saptrc.properties +14 -0
  45. package/src/sap/ui/vbm/i18n/messagebundle_es.properties +14 -0
  46. package/src/sap/ui/vbm/i18n/messagebundle_es_MX.properties +14 -0
  47. package/src/sap/ui/vbm/i18n/messagebundle_et.properties +14 -0
  48. package/src/sap/ui/vbm/i18n/messagebundle_fi.properties +14 -0
  49. package/src/sap/ui/vbm/i18n/messagebundle_fr.properties +14 -0
  50. package/src/sap/ui/vbm/i18n/messagebundle_fr_CA.properties +14 -0
  51. package/src/sap/ui/vbm/i18n/messagebundle_hi.properties +14 -0
  52. package/src/sap/ui/vbm/i18n/messagebundle_hr.properties +14 -0
  53. package/src/sap/ui/vbm/i18n/messagebundle_hu.properties +14 -0
  54. package/src/sap/ui/vbm/i18n/messagebundle_id.properties +14 -0
  55. package/src/sap/ui/vbm/i18n/messagebundle_it.properties +14 -0
  56. package/src/sap/ui/vbm/i18n/messagebundle_iw.properties +14 -0
  57. package/src/sap/ui/vbm/i18n/messagebundle_ja.properties +14 -0
  58. package/src/sap/ui/vbm/i18n/messagebundle_kk.properties +15 -0
  59. package/src/sap/ui/vbm/i18n/messagebundle_ko.properties +14 -0
  60. package/src/sap/ui/vbm/i18n/messagebundle_lt.properties +14 -0
  61. package/src/sap/ui/vbm/i18n/messagebundle_lv.properties +14 -0
  62. package/src/sap/ui/vbm/i18n/messagebundle_mk.properties +14 -0
  63. package/src/sap/ui/vbm/i18n/messagebundle_ms.properties +14 -0
  64. package/src/sap/ui/vbm/i18n/messagebundle_nl.properties +14 -0
  65. package/src/sap/ui/vbm/i18n/messagebundle_no.properties +14 -0
  66. package/src/sap/ui/vbm/i18n/messagebundle_pl.properties +14 -0
  67. package/src/sap/ui/vbm/i18n/messagebundle_pt.properties +14 -0
  68. package/src/sap/ui/vbm/i18n/messagebundle_pt_PT.properties +14 -0
  69. package/src/sap/ui/vbm/i18n/messagebundle_ro.properties +14 -0
  70. package/src/sap/ui/vbm/i18n/messagebundle_ru.properties +14 -0
  71. package/src/sap/ui/vbm/i18n/messagebundle_sk.properties +14 -0
  72. package/src/sap/ui/vbm/i18n/messagebundle_sl.properties +14 -0
  73. package/src/sap/ui/vbm/i18n/messagebundle_sr.properties +14 -0
  74. package/src/sap/ui/vbm/i18n/messagebundle_sv.properties +14 -0
  75. package/src/sap/ui/vbm/i18n/messagebundle_th.properties +14 -0
  76. package/src/sap/ui/vbm/i18n/messagebundle_tr.properties +14 -0
  77. package/src/sap/ui/vbm/i18n/messagebundle_uk.properties +14 -0
  78. package/src/sap/ui/vbm/i18n/messagebundle_vi.properties +14 -0
  79. package/src/sap/ui/vbm/i18n/messagebundle_zh_CN.properties +14 -0
  80. package/src/sap/ui/vbm/i18n/messagebundle_zh_TW.properties +14 -0
  81. package/src/sap/ui/vbm/lib/sapnavigation.js +7 -3
  82. package/src/sap/ui/vbm/lib/sapscale.js +1 -1
  83. package/src/sap/ui/vbm/lib/saputilities.js +11 -5
  84. package/src/sap/ui/vbm/lib/sapvbmenu.js +6 -1
  85. package/src/sap/ui/vbm/library.js +13 -7
  86. package/src/sap/ui/vbm/themes/base/ContainerBase.less +45 -0
  87. package/src/sap/ui/vbm/themes/base/ContainerLegendItem.less +46 -0
  88. package/src/sap/ui/vbm/themes/base/ListPanel.less +43 -0
  89. package/src/sap/ui/vbm/themes/base/ListPanelStack.less +30 -0
  90. package/src/sap/ui/vbm/themes/base/MapContainer.less +210 -0
  91. package/src/sap/ui/vbm/themes/base/fonts/map-container.eot +0 -0
  92. package/src/sap/ui/vbm/themes/base/fonts/map-container.svg +13 -0
  93. package/src/sap/ui/vbm/themes/base/fonts/map-container.ttf +0 -0
  94. package/src/sap/ui/vbm/themes/base/fonts/map-container.woff +0 -0
  95. package/src/sap/ui/vbm/themes/base/library.source.less +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.ui.vbm",
3
- "version": "1.119.0",
3
+ "version": "1.121.0",
4
4
  "description": "SAPUI5 Library sap.ui.vbm",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -3,7 +3,7 @@
3
3
  <name>sap.ui.vbm</name>
4
4
  <vendor>SAP SE</vendor>
5
5
  <copyright>SAP UI development toolkit for HTML5 (SAPUI5) (c) Copyright 2009-2012 SAP AG. All rights reserved</copyright>
6
- <version>1.119.0</version>
6
+ <version>1.121.0</version>
7
7
 
8
8
  <documentation>SAP UI library: sap.ui.vbm</documentation>
9
9
 
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @param {string} [sId] id for the new control, generated automatically if no id is given
23
23
  * @param {object} [mSettings] initial settings for the new object
24
24
  * @author SAP SE
25
- * @version 1.119.0
25
+ * @version 1.121.0
26
26
  * @extends sap.ui.core.Element
27
27
  * @constructor
28
28
  * @public
@@ -396,12 +396,12 @@ sap.ui.define([
396
396
  *
397
397
  * */
398
398
  var findAttribute = function(a, name) {
399
- var oEntry = sap.ui.vbm.findInArray(this._dataTypes, function(_dt) { return _dt.name == name; });
399
+ var oEntry = library.findInArray(this._dataTypes, function(_dt) { return _dt.name == name; });
400
400
 
401
401
  if ((oEntry == null) || !(oEntry.A)) {
402
402
  return undefined;
403
403
  } else {
404
- var oAttr = sap.ui.vbm.findInArray(oEntry.A, function(_a) { return _a.alias == a; });
404
+ var oAttr = library.findInArray(oEntry.A, function(_a) { return _a.alias == a; });
405
405
  if (oAttr != null) {
406
406
  return oAttr.name;
407
407
  } else {
@@ -466,7 +466,7 @@ sap.ui.define([
466
466
 
467
467
  if (this._data[e["n.name"]].some(function(_d) {return _d.Key == e.K;})) {
468
468
  // The instance (Spot) already exists - modify it
469
- var index = sap.ui.vbm.findIndexInArray(this._data[e["n.name"]], function(_d) { return _d.Key === e.K; });
469
+ var index = library.findIndexInArray(this._data[e["n.name"]], function(_d) { return _d.Key === e.K; });
470
470
  if (index !== -1) {
471
471
  this._data[e["n.name"]][index] = d;
472
472
  }
@@ -481,7 +481,7 @@ sap.ui.define([
481
481
  return (r.N && r.N.E);
482
482
  }).forEach(function(r) {
483
483
  [].concat(r.N.E).forEach(function(e) {
484
- var index = sap.ui.vbm.findIndexInArray(this._data[r.name], function(_d) { return _d.Key === e.K; });
484
+ var index = library.findIndexInArray(this._data[r.name], function(_d) { return _d.Key === e.K; });
485
485
 
486
486
  if (index !== -1) {
487
487
  this._data[r.name].splice(index, 1);
@@ -606,7 +606,7 @@ sap.ui.define([
606
606
  var oGoogleTileApiSourcesByApiKey = aGoogleTileApiSources.reduce(function(g, a) {
607
607
  var apiKey = a.url.split("key=")[1];
608
608
  g[apiKey] = g[apiKey] || [];
609
- if (sap.ui.vbm.findIndexInArray(apiKeys, function(k) { return k === apiKey; } ) === -1) {
609
+ if (library.findIndexInArray(apiKeys, function(k) { return k === apiKey; } ) === -1) {
610
610
  apiKeys.push(apiKey);
611
611
  }
612
612
  g[apiKey].push(a);
@@ -831,7 +831,7 @@ sap.ui.define([
831
831
  return;
832
832
  }
833
833
 
834
- var index = sap.ui.vbm.findIndexInArray(this._dataTypes, function(_d) { return _d.name === definition.datasource; });
834
+ var index = library.findIndexInArray(this._dataTypes, function(_d) { return _d.name === definition.datasource; });
835
835
 
836
836
  if (index !== -1) {
837
837
  var dataType = this._dataTypes[index];
@@ -910,7 +910,7 @@ sap.ui.define([
910
910
  this._target = this._adapter._map();
911
911
  } else {
912
912
  var id = this._adapter._ui5Id(this.refVO);
913
- this._target = sap.ui.vbm.findInArray(this._adapter._map().getVos(), function(vo) { return vo.getId() === id; }); // find target VO
913
+ this._target = library.findInArray(this._adapter._map().getVos(), function(vo) { return vo.getId() === id; }); // find target VO
914
914
 
915
915
  if (!this._target) { // if not found check cluster VOs as well
916
916
  this._target = this._adapter._clusterVOs.get(this.refVO);
@@ -1005,7 +1005,7 @@ sap.ui.define([
1005
1005
  this._actions.splice(index, 1);
1006
1006
  // when both click & double click present -> when removing double click -> click must be activated
1007
1007
  if (remove.refEvent === "DoubleClick") {
1008
- var click = sap.ui.vbm.findInArray(this._actions, function(action) { return action.refVO === remove.refVO && action.refEvent === "Click"; });
1008
+ var click = library.findInArray(this._actions, function(action) { return action.refVO === remove.refVO && action.refEvent === "Click"; });
1009
1009
  if (click) {
1010
1010
  click.attach();
1011
1011
  }
@@ -1028,7 +1028,7 @@ sap.ui.define([
1028
1028
  }
1029
1029
  } else if (def.refEvent === "DoubleClick") {
1030
1030
  // if click is there already -> detach it (but keep in the list) and attach double click instead
1031
- var click = sap.ui.vbm.findInArray(this._actions, function(action) { return action.refVO === def.refVO && action.refEvent === "Click"; }, this);
1031
+ var click = library.findInArray(this._actions, function(action) { return action.refVO === def.refVO && action.refEvent === "Click"; }, this);
1032
1032
  if (click) {
1033
1033
  click.detach();
1034
1034
  }
@@ -1057,7 +1057,7 @@ sap.ui.define([
1057
1057
  list = [].concat(actions.Remove);
1058
1058
  }
1059
1059
  list.forEach(function(def) {
1060
- index = sap.ui.vbm.findIndexInArray(this._actions, function(action) { return action.id === def.id });
1060
+ index = library.findIndexInArray(this._actions, function(action) { return action.id === def.id });
1061
1061
  if (index !== -1) {
1062
1062
  this._removeAction(index);
1063
1063
  } else {
@@ -1074,7 +1074,7 @@ sap.ui.define([
1074
1074
  }
1075
1075
 
1076
1076
  list.forEach(function(def) { // update or create actions by id
1077
- index = sap.ui.vbm.findIndexInArray(this._actions, function(action) { return action.id === def.id });
1077
+ index = library.findIndexInArray(this._actions, function(action) { return action.id === def.id });
1078
1078
  if (index !== -1) {
1079
1079
  this._removeAction(index);
1080
1080
  }
@@ -1369,7 +1369,7 @@ sap.ui.define([
1369
1369
  if (sAttribute.startsWith("pos")) {
1370
1370
  var aParameters = wnd.Window[sAttribute].split(".");
1371
1371
  if (aParameters[0] in oModelData) {
1372
- var index = sap.ui.vbm.findIndexInArray(oModelData[aParameters[0]], findPredicate("Key", aParameters[1]));
1372
+ var index = library.findIndexInArray(oModelData[aParameters[0]], findPredicate("Key", aParameters[1]));
1373
1373
 
1374
1374
  if (index !== -1) {
1375
1375
  var oData = oModelData[aParameters[0]][index];
@@ -1400,12 +1400,12 @@ sap.ui.define([
1400
1400
  if (s.name && s.type) {
1401
1401
  var oDataList = s[s.type];
1402
1402
  if (oDataList.name === s.name) {
1403
- var oDataType = sap.ui.vbm.findInArray([].concat(this._dataTypes), findPredicate("name", oDataList.name));
1404
- var sAlias = sap.ui.vbm.findInArray([].concat(sap.ui.vbm.findInArray([].concat(oDataType.N), findPredicate("name", aParameters[2])).A),
1403
+ var oDataType = library.findInArray([].concat(this._dataTypes), findPredicate("name", oDataList.name));
1404
+ var sAlias = library.findInArray([].concat(library.findInArray([].concat(oDataType.N), findPredicate("name", aParameters[2])).A),
1405
1405
  findPredicate("name", aParameters[4])).alias;
1406
1406
 
1407
1407
  var oData = [].concat(oDataList.E)[aParameters[1]];
1408
- var oSubData = [].concat(sap.ui.vbm.findInArray([].concat(oData.N), findPredicate("name", aParameters[2])).E)[aParameters[3]];
1408
+ var oSubData = [].concat(library.findInArray([].concat(oData.N), findPredicate("name", aParameters[2])).E)[aParameters[3]];
1409
1409
 
1410
1410
  oVO[sAttribute.split(".")[0]] = oSubData[sAlias];
1411
1411
  delete oVO[sAttribute];
@@ -1530,7 +1530,7 @@ sap.ui.define([
1530
1530
  oEventData.Action.object = linkName;
1531
1531
  }
1532
1532
 
1533
- var oAction = sap.ui.vbm.findInArray(this._actions, function(action) {
1533
+ var oAction = library.findInArray(this._actions, function(action) {
1534
1534
  return (actionObjects.indexOf(action.refVO) != -1) && oEventData.Action.name.toLowerCase() === action.refEvent.toLowerCase();
1535
1535
  });
1536
1536
 
@@ -1601,7 +1601,7 @@ sap.ui.define([
1601
1601
  */
1602
1602
  [].concat(oAction.AddActionProperty || []).forEach(function(a) {
1603
1603
  var addActionProperties = oEventData.Action.AddActionProperties.AddActionProperty || [];
1604
- var propertyValue = sap.ui.vbm.findInArray(
1604
+ var propertyValue = library.findInArray(
1605
1605
  [].concat(addActionProperties),
1606
1606
  function(prop) { return prop.name === a.name; });
1607
1607
 
@@ -1666,7 +1666,7 @@ sap.ui.define([
1666
1666
  } else {
1667
1667
  // This needs to be done since by the time callback (event handler) is executed, the object is reclaimed.
1668
1668
  // if this handler is for cluster -> need to find corresponded click (if any) and pass it through
1669
- var click = clusterAction ? sap.ui.vbm.findInArray(this._actions, function(action) { return action.refVO === clusterAction.refVO && action.refEvent === "Click"; }) : undefined;
1669
+ var click = clusterAction ? library.findInArray(this._actions, function(action) { return action.refVO === clusterAction.refVO && action.refEvent === "Click"; }) : undefined;
1670
1670
  this.oEvent = jQuery.extend(true, {}, event);
1671
1671
  this.timeout = setTimeout(this._handler.bind(this, this.oEvent, click), 500);
1672
1672
  }
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @param {string} [sId] id for the new control, generated automatically if no id is given
46
46
  * @param {object} [mSettings] initial settings for the new object
47
47
  * @author SAP SE
48
- * @version 1.119.0
48
+ * @version 1.121.0
49
49
  * @extends sap.ui.core.Element
50
50
  * @constructor
51
51
  * @public
@@ -432,11 +432,11 @@ sap.ui.define([
432
432
  Adapter3D.prototype._processDetailWindow = function(payload) {
433
433
  // show first only detail window from toAdd queue
434
434
  // ignore all other detail windows as we can show only one at a time in compare to ActiveX implementation
435
- var window = sap.ui.vbm.findInArray(this._context.windowQueues.toAdd, function(window) {
435
+ var window = library.findInArray(this._context.windowQueues.toAdd, function(window) {
436
436
  return window.type === "callout";
437
437
  });
438
438
 
439
- var scene = window && sap.ui.vbm.findInArray(this._context.scenes, function(scene) {
439
+ var scene = window && library.findInArray(this._context.scenes, function(scene) {
440
440
  return scene.id === window.refScene;
441
441
  });
442
442
 
@@ -764,7 +764,7 @@ sap.ui.define([
764
764
 
765
765
  var instance = event.instance;
766
766
  var groupId = instance ? instance.voGroup.id : event.voGroupId;
767
- var actionDefinition = sap.ui.vbm.findInArray(this._context.actions, function(action) { return action.refVO === groupId && action.refEvent === name; });
767
+ var actionDefinition = library.findInArray(this._context.actions, function(action) { return action.refVO === groupId && action.refEvent === name; });
768
768
 
769
769
  if (actionDefinition) {
770
770
  var param = [];
@@ -1096,7 +1096,7 @@ sap.ui.define([
1096
1096
  onBeforeRendering: function(event) {
1097
1097
  if (this._onhoverProxy) {
1098
1098
  this._viewport.$().off("wheel", this._onhoverProxy);
1099
- this._viewport.$().off(sap.ui.Device.browser.msie || sap.ui.Device.browser.edge ? "pointermove" : "mousemove", this._onhoverProxy);
1099
+ this._viewport.$().off("mousemove", this._onhoverProxy);
1100
1100
  }
1101
1101
  if (this._onpointerdownProxy) {
1102
1102
  this._viewport.$().off("pointerdown", this._onpointerdownProxy);
@@ -1111,18 +1111,7 @@ sap.ui.define([
1111
1111
  this._onhoverProxy = viewportEventDelegate.onhover.bind(this);
1112
1112
  }
1113
1113
  this._viewport.$().on("wheel", this._onhoverProxy);
1114
- this._viewport.$().on(sap.ui.Device.browser.msie || sap.ui.Device.browser.edge ? "pointermove" : "mousemove", this._onhoverProxy);
1115
-
1116
- if (sap.ui.Device.browser.msie || sap.ui.Device.browser.edge) {
1117
- if (!this._onpointerdownProxy) {
1118
- this._onpointerdownProxy = viewportEventDelegate.onmousedown.bind(this);
1119
- }
1120
- this._viewport.$().on("pointerdown", this._onpointerdownProxy);
1121
- if (!this._onpointerupProxy) {
1122
- this._onpointerupProxy = viewportEventDelegate.onmouseup.bind(this);
1123
- }
1124
- this._viewport.$().on("pointerup", this._onpointerupProxy);
1125
- }
1114
+ this._viewport.$().on("mousemove", this._onhoverProxy);
1126
1115
 
1127
1116
  if (this._detail.anchor) { // restore DOM hierarchy by adding anchor element under viewport DOM element
1128
1117
  this._viewport.getDomRef().appendChild(this._detail.anchor);
@@ -1132,7 +1121,7 @@ sap.ui.define([
1132
1121
  }
1133
1122
  };
1134
1123
 
1135
- viewportEventDelegate[sap.ui.Device.browser.msie || sap.ui.Device.browser.edge ? "onclick" : "ontap"] = function(event) {
1124
+ viewportEventDelegate["ontap"] = function(event) {
1136
1125
  Log.trace("onclick", "", thisModule);
1137
1126
  this._extendEventWithInstance(event);
1138
1127
  if (this._skipClick) {
@@ -278,7 +278,8 @@ sap.ui.define([
278
278
  var oUri = window.URI(AnalyticMap.DefaultABAPGeoJSONURL); // abap system
279
279
  oUri.addQuery("sap-language", sap.ui.getCore().getConfiguration().getLanguage()); // append the language parameter to the uri
280
280
  aPathGeoJSON[1] = oUri.toString();
281
- aPathGeoJSON[2] = sap.ui.resource("sap.ui.vbm", AnalyticMap.DefaultGeoJSONURL); // default path
281
+ aPathGeoJSON[2] = sap.ui.require.toUrl("sap/ui/vbm/"+AnalyticMap.DefaultGeoJSONURL); // default path
282
+
282
283
 
283
284
  for (var mI = 0; mI < 3; ++mI) {
284
285
  sPathGeoJSON = aPathGeoJSON[mI];
@@ -965,7 +966,7 @@ sap.ui.define([
965
966
  };
966
967
 
967
968
  AnalyticMap.prototype.applyTheming = function(aRegions) {
968
- if (sap.ui.core.theming && Parameters) { // only if theming parameters are available
969
+ if (Parameters) { // only if theming parameters are available
969
970
  var sColC = AnalyticMap.DefaultRegionColor;
970
971
  if (Parameters.get("_sap_ui_vbm_shared_ChoroplethRegionBG") != undefined) {
971
972
  sColC = AnalyticMap.DefaultRegionColor = Parameters.get("_sap_ui_vbm_shared_ChoroplethRegionBG");