@sapui5/sap.ui.vbm 1.102.3 → 1.102.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.ui.vbm",
3
- "version": "1.102.3",
3
+ "version": "1.102.5",
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.102.3</version>
6
+ <version>1.102.5</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.102.3
25
+ * @version 1.102.5
26
26
  * @extends sap.ui.core.Element
27
27
  * @constructor
28
28
  * @public
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @param {string} [sId] id for the new control, generated automatically if no id is given
42
42
  * @param {object} [mSettings] initial settings for the new object
43
43
  * @author SAP SE
44
- * @version 1.102.3
44
+ * @version 1.102.5
45
45
  * @extends sap.ui.core.Element
46
46
  * @constructor
47
47
  * @public
@@ -325,7 +325,13 @@ sap.ui.define([
325
325
  }
326
326
 
327
327
  // get the name of the fragment........................................//
328
- tt = (f.properties && f.properties.name) ? f.properties.name : "";
328
+ if (f.properties && f.properties.name) {
329
+ tt = f.properties.name;
330
+ } else if (f.properties && f.properties.NAME) {
331
+ tt = f.properties.NAME;
332
+ } else {
333
+ tt = "";
334
+ }
329
335
  this.mNames[f.id2] = tt;
330
336
  this.mRegionProps[f.id2] = f.properties;
331
337
 
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  *
24
24
  * @public
25
25
  * @author SAP SE
26
- * @version 1.102.3
26
+ * @version 1.102.5
27
27
  * @extends sap.ui.core.Control
28
28
  * @alias sap.ui.vbm.Viewport
29
29
  */
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  *
30
30
  * @private
31
31
  * @author SAP SE
32
- * @version 1.102.3
32
+ * @version 1.102.5
33
33
  * @alias sap.ui.vbm.adapter3d.ModelHandler
34
34
  */
35
35
  var ModelHandler = BaseObject.extend("sap.ui.vbm.adapter3d.ModelHandler", /** @lends sap.ui.vbm.adapter3d.ModelHandler.prototype */ {
@@ -377,7 +377,7 @@ sap.ui.define([
377
377
  *
378
378
  * @private
379
379
  * @author SAP SE
380
- * @version 1.102.3
380
+ * @version 1.102.5
381
381
  * @alias sap.ui.vbm.adapter3d.ObjectFactory
382
382
  */
383
383
  var ObjectFactory = BaseObject.extend("sap.ui.vbm.adapter3d.ObjectFactory", /** @lends sap.ui.vbm.adapter3d.ObjectFactory.prototype */ {});
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  *
33
33
  * @private
34
34
  * @author SAP SE
35
- * @version 1.102.3
35
+ * @version 1.102.5
36
36
  * @alias sap.ui.vbm.adapter3d.PolygonHandler
37
37
  */
38
38
  var PolygonHandler = BaseObject.extend("sap.ui.vbm.adapter3d.PolygonHandler", /** @lends sap.ui.vbm.adapter3d.PolygonHandler.prototype */ {
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  *
47
47
  * @private
48
48
  * @author SAP SE
49
- * @version 1.102.3
49
+ * @version 1.102.5
50
50
  * @alias sap.ui.vbm.adapter3d.SceneBuilder
51
51
  */
52
52
  var SceneBuilder = BaseObject.extend("sap.ui.vbm.adapter3d.SceneBuilder", /** @lends sap.ui.vbm.adapter3d.SceneBuilder.prototype */ {
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  *
57
57
  * @private
58
58
  * @author SAP SE
59
- * @version 1.102.3
59
+ * @version 1.102.5
60
60
  * @alias sap.ui.vbm.adapter3d.VBIJSONParser
61
61
  */
62
62
  var VBIJSONParser = BaseObject.extend("sap.ui.vbm.adapter3d.VBIJSONParser", /** @lends sap.ui.vbm.adapter3d.VBIJSONParser.prototype */ {
@@ -981,7 +981,15 @@ VBI.DataProvider = function() {
981
981
  if (type == A && (nJ + 1) == len) {
982
982
  var ta;
983
983
  if ((ta = curNodeType.GetTypeAttribute(parts[nJ], false))) {
984
- return curElement.m_dataattributes[ta.m_nArrayIndex];
984
+ if (curElement) {
985
+ return curElement.m_dataattributes[ta.m_nArrayIndex];
986
+ } else {
987
+ // no element specified, so we use the first one .............//
988
+ if (curNode.m_dataelements.length) {
989
+ curElement = curNode.m_dataelements[0];
990
+ return curElement.m_dataattributes[ta.m_nArrayIndex];
991
+ }
992
+ }
985
993
  }
986
994
  }
987
995
 
@@ -3953,7 +3953,7 @@ VBI.GeoScene = function(target, mapmanager, maplayerstack) {
3953
3953
 
3954
3954
  scene.InvalidateCanvas(scene.m_Canvas[1]);
3955
3955
  scene.MoveCanvas(canvas, newPixelLeft, newPixelTop, stretchFactor * scene.m_nWidthCanvas, stretchFactor * scene.m_nHeightCanvas);
3956
- scene.m_MapManager.RequestTiles(canvas, scene.m_MapLayerStack, oldCurrentX + xDistToMean, oldCurrentY + yDistToMean, scene.m_nTilesX, scene.m_nTilesY, 0, 0, 0, 0, lod, false);
3956
+ scene.m_MapManager.RequestTiles(canvas, scene.m_MapLayerStack, oldCurrentX + xDistToMean, oldCurrentY + yDistToMean, scene.m_nTilesX, scene.m_nTilesY, 0, 0, 0, 0, lod, true);
3957
3957
  var lza = scene.m_LastZoomArea; // must be stored before ZoomMap may be able to destroy it
3958
3958
  var bAreaZoomExecuted = false;
3959
3959
  if (lza != undefined) {
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @namespace
20
20
  * @alias sap.ui.vbm
21
21
  * @author SAP SE
22
- * @version 1.102.3
22
+ * @version 1.102.5
23
23
  * @public
24
24
  */
25
25
 
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  "sap.ui.vbm.ClusterBase", "sap.ui.vbm.ClusterTree", "sap.ui.vbm.ClusterGrid", "sap.ui.vbm.ClusterDistance", "sap.ui.vbm.Heatmap",
43
43
  "sap.ui.vbm.HeatPoint", "sap.ui.vbm.ClusterContainer", "sap.ui.vbm.Adapter", "sap.ui.vbm.Adapter3D"
44
44
  ],
45
- version: "1.102.3"
45
+ version: "1.102.5"
46
46
  });
47
47
 
48
48
  sap.ui.loader.config({