geojs 1.14.5 → 1.14.6

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/geo.js CHANGED
@@ -8900,7 +8900,7 @@ var util = {
8900
8900
  },
8901
8901
  /**
8902
8902
  * Recursively merge two objects. This is intended to replace
8903
- * util.deepMerge(target, ...sources).
8903
+ * $.extend(target, ...sources).
8904
8904
  *
8905
8905
  * @param {object} target target object to modify.
8906
8906
  * @param {object} sources object(s) to merge into the target.
@@ -28634,7 +28634,7 @@ module.exports = svg_tileLayer;
28634
28634
  * @constant
28635
28635
  * @type {string}
28636
28636
  */
28637
- module.exports = "1.14.5";
28637
+ module.exports = "1.14.6";
28638
28638
 
28639
28639
  /***/ }),
28640
28640
 
@@ -85653,7 +85653,7 @@ inherit(vgl.viewer, vgl.object);
85653
85653
  /***/ }),
85654
85654
 
85655
85655
  /***/ 7235:
85656
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
85656
+ /***/ (function(module) {
85657
85657
 
85658
85658
  /*
85659
85659
  markercluster plugin:
@@ -85712,7 +85712,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
85712
85712
  * @copyright 2012, David Leaver
85713
85713
  */
85714
85714
 
85715
- var $ = __webpack_require__(5616);
85716
85715
  var L = {};
85717
85716
  L.Util = {
85718
85717
  // return unique ID of an object
@@ -85828,9 +85827,7 @@ DistanceGrid.prototype = {
85828
85827
  },
85829
85828
  /* return the point coordinates contained in the structure */
85830
85829
  contents: function contents() {
85831
- return $.map(this._objectPoint, function (val) {
85832
- return val;
85833
- });
85830
+ return Object.values(this._objectPoint);
85834
85831
  },
85835
85832
  _getCoord: function _getCoord(x) {
85836
85833
  return Math.floor(x / this._cellSize);
@@ -87314,24 +87311,26 @@ var _pointFeature = function pointFeature(arg) {
87314
87311
 
87315
87312
  // store the current zoom level privately
87316
87313
  m_lastZoom = z;
87317
-
87318
- // get the raw data elements for the points at the current level
87319
- var data = m_clusterTree.points(z).map(function (d) {
87320
- return m_allData[d.index];
87321
- });
87314
+ var points = m_clusterTree.points(z);
87315
+ var clusters = m_clusterTree.clusters(z);
87316
+ var data = new Array(points.length + clusters.length);
87317
+ for (var pidx = 0; pidx < points.length; pidx += 1) {
87318
+ data[pidx] = m_allData[points[pidx].index];
87319
+ }
87322
87320
 
87323
87321
  // append the clusters at the current level
87324
- m_clusterTree.clusters(z).forEach(function (d) {
87322
+ for (var cidx = 0, didx = points.length; cidx < clusters.length; cidx += 1, didx += 1) {
87323
+ var d = clusters[cidx];
87325
87324
  // mark the datum as a cluster for accessor methods
87326
87325
  d.__cluster = true;
87327
87326
 
87328
87327
  // store all of the data objects for each point in the cluster as __data
87329
- d.__data = [];
87330
- d.obj.each(function (e) {
87331
- d.__data.push(m_allData[e.index]);
87332
- });
87333
- data.push(d);
87334
- });
87328
+ d.__data = new Array(d.obj.length);
87329
+ for (var idx = 0; idx < d.obj.length; idx += 1) {
87330
+ d.__data[idx] = m_allData[d.obj[idx].index];
87331
+ }
87332
+ data[didx] = d;
87333
+ }
87335
87334
 
87336
87335
  // prevent recomputing the clustering and set the new data array
87337
87336
  m_ignoreData = true;
@@ -95367,7 +95366,7 @@ var names = ["Sinusoidal", "sinu"];
95367
95366
  * @constant
95368
95367
  * @type {string}
95369
95368
  */
95370
- module.exports = "d4e1655cfca55d933dda932572b764fe5d0d9feb";
95369
+ module.exports = "c16ea3df2fa1192584502e1295e85a7667544184";
95371
95370
 
95372
95371
  /***/ }),
95373
95372
 
package/geo.lean.js CHANGED
@@ -8900,7 +8900,7 @@ var util = {
8900
8900
  },
8901
8901
  /**
8902
8902
  * Recursively merge two objects. This is intended to replace
8903
- * util.deepMerge(target, ...sources).
8903
+ * $.extend(target, ...sources).
8904
8904
  *
8905
8905
  * @param {object} target target object to modify.
8906
8906
  * @param {object} sources object(s) to merge into the target.
@@ -25643,7 +25643,7 @@ module.exports = svg_tileLayer;
25643
25643
  * @constant
25644
25644
  * @type {string}
25645
25645
  */
25646
- module.exports = "1.14.5";
25646
+ module.exports = "1.14.6";
25647
25647
 
25648
25648
  /***/ }),
25649
25649
 
@@ -57829,7 +57829,7 @@ inherit(vgl.viewer, vgl.object);
57829
57829
  /***/ }),
57830
57830
 
57831
57831
  /***/ 7235:
57832
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
57832
+ /***/ (function(module) {
57833
57833
 
57834
57834
  /*
57835
57835
  markercluster plugin:
@@ -57888,7 +57888,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
57888
57888
  * @copyright 2012, David Leaver
57889
57889
  */
57890
57890
 
57891
- var $ = __webpack_require__(5616);
57892
57891
  var L = {};
57893
57892
  L.Util = {
57894
57893
  // return unique ID of an object
@@ -58004,9 +58003,7 @@ DistanceGrid.prototype = {
58004
58003
  },
58005
58004
  /* return the point coordinates contained in the structure */
58006
58005
  contents: function contents() {
58007
- return $.map(this._objectPoint, function (val) {
58008
- return val;
58009
- });
58006
+ return Object.values(this._objectPoint);
58010
58007
  },
58011
58008
  _getCoord: function _getCoord(x) {
58012
58009
  return Math.floor(x / this._cellSize);
@@ -59490,24 +59487,26 @@ var _pointFeature = function pointFeature(arg) {
59490
59487
 
59491
59488
  // store the current zoom level privately
59492
59489
  m_lastZoom = z;
59493
-
59494
- // get the raw data elements for the points at the current level
59495
- var data = m_clusterTree.points(z).map(function (d) {
59496
- return m_allData[d.index];
59497
- });
59490
+ var points = m_clusterTree.points(z);
59491
+ var clusters = m_clusterTree.clusters(z);
59492
+ var data = new Array(points.length + clusters.length);
59493
+ for (var pidx = 0; pidx < points.length; pidx += 1) {
59494
+ data[pidx] = m_allData[points[pidx].index];
59495
+ }
59498
59496
 
59499
59497
  // append the clusters at the current level
59500
- m_clusterTree.clusters(z).forEach(function (d) {
59498
+ for (var cidx = 0, didx = points.length; cidx < clusters.length; cidx += 1, didx += 1) {
59499
+ var d = clusters[cidx];
59501
59500
  // mark the datum as a cluster for accessor methods
59502
59501
  d.__cluster = true;
59503
59502
 
59504
59503
  // store all of the data objects for each point in the cluster as __data
59505
- d.__data = [];
59506
- d.obj.each(function (e) {
59507
- d.__data.push(m_allData[e.index]);
59508
- });
59509
- data.push(d);
59510
- });
59504
+ d.__data = new Array(d.obj.length);
59505
+ for (var idx = 0; idx < d.obj.length; idx += 1) {
59506
+ d.__data[idx] = m_allData[d.obj[idx].index];
59507
+ }
59508
+ data[didx] = d;
59509
+ }
59511
59510
 
59512
59511
  // prevent recomputing the clustering and set the new data array
59513
59512
  m_ignoreData = true;
@@ -67553,7 +67552,7 @@ var names = ["Sinusoidal", "sinu"];
67553
67552
  * @constant
67554
67553
  * @type {string}
67555
67554
  */
67556
- module.exports = "d4e1655cfca55d933dda932572b764fe5d0d9feb";
67555
+ module.exports = "c16ea3df2fa1192584502e1295e85a7667544184";
67557
67556
 
67558
67557
  /***/ }),
67559
67558