@hpcc-js/map 2.75.5 → 2.75.8

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/dist/index.es6.js CHANGED
@@ -21,8 +21,8 @@ function _mergeNamespaces(n, m) {
21
21
  }
22
22
 
23
23
  var PKG_NAME = "@hpcc-js/map";
24
- var PKG_VERSION = "2.75.5";
25
- var BUILD_VERSION = "2.102.10";
24
+ var PKG_VERSION = "2.75.8";
25
+ var BUILD_VERSION = "2.103.1";
26
26
 
27
27
  /*! *****************************************************************************
28
28
  Copyright (c) Microsoft Corporation.
@@ -4448,7 +4448,7 @@ function resolve(id) {
4448
4448
  if (retVal) {
4449
4449
  return retVal();
4450
4450
  }
4451
- console.log("Unknown projection: " + id);
4451
+ console.warn("Unknown projection: " + id);
4452
4452
  return mercator();
4453
4453
  }
4454
4454
 
@@ -5095,10 +5095,8 @@ var Choropleth = /** @class */ (function (_super) {
5095
5095
  };
5096
5096
  // Events ---
5097
5097
  Choropleth.prototype.click = function (row, column, selected) {
5098
- console.log("Click: " + JSON.stringify(row) + ", " + column + ", " + selected);
5099
5098
  };
5100
5099
  Choropleth.prototype.dblclick = function (row, column, selected) {
5101
- console.log("Double click: " + JSON.stringify(row) + ", " + column + ", " + selected);
5102
5100
  };
5103
5101
  return Choropleth;
5104
5102
  }(Layer));
@@ -5326,7 +5324,7 @@ var ChoroplethCountries = /** @class */ (function (_super) {
5326
5324
  .attr("d", function (d) {
5327
5325
  var retVal = base._d3GeoPath(rFeatures$3[d[0]]);
5328
5326
  if (!retVal) {
5329
- console.log("Unknown Country: " + d);
5327
+ console.warn("Unknown Country: " + d);
5330
5328
  }
5331
5329
  return retVal;
5332
5330
  })
@@ -5419,7 +5417,7 @@ var ChoroplethCounties = /** @class */ (function (_super) {
5419
5417
  .attr("d", function (d) {
5420
5418
  var retVal = base._d3GeoPath(rFeatures$2[d[0]]);
5421
5419
  if (!retVal) {
5422
- console.log("Unknown US County: " + d[0]);
5420
+ console.warn("Unknown US County: " + d[0]);
5423
5421
  }
5424
5422
  return retVal;
5425
5423
  })
@@ -5507,7 +5505,7 @@ var ChoroplethStates = /** @class */ (function (_super) {
5507
5505
  .attr("d", function (d) {
5508
5506
  var retVal = base._d3GeoPath(rFeatures$1[d[0]]);
5509
5507
  if (!retVal) {
5510
- console.log("Unknown US State: " + d[0]);
5508
+ console.warn("Unknown US State: " + d[0]);
5511
5509
  }
5512
5510
  return retVal;
5513
5511
  })
@@ -5631,10 +5629,8 @@ var GeoHash = /** @class */ (function (_super) {
5631
5629
  };
5632
5630
  // Events ---
5633
5631
  GeoHash.prototype.click = function (row, column, selected) {
5634
- console.log("Click: " + JSON.stringify(row) + ", " + column + ", " + selected);
5635
5632
  };
5636
5633
  GeoHash.prototype.dblclick = function (row, column, selected) {
5637
- console.log("Double click: " + JSON.stringify(row) + ", " + column + ", " + selected);
5638
5634
  };
5639
5635
  return GeoHash;
5640
5636
  }(Layer));
@@ -6564,7 +6560,7 @@ var GMap = /** @class */ (function (_super) {
6564
6560
  }
6565
6561
  };
6566
6562
  GMap.prototype.statusError = function (response) {
6567
- console.log("Data not found for this location.");
6563
+ console.warn("Data not found for this location.");
6568
6564
  };
6569
6565
  return GMap;
6570
6566
  }(HTMLWidget));
@@ -6706,7 +6702,6 @@ var GMapCounties = /** @class */ (function (_super) {
6706
6702
  GMapCounties.prototype.render = function (callback) {
6707
6703
  var _this = this;
6708
6704
  return _super.prototype.render.call(this, function (w) {
6709
- console.log("as:" + _this.autoScale());
6710
6705
  if (_this._renderCount > 1 && _this.autoScale()) {
6711
6706
  var bounds = _this._counties.getDataBounds();
6712
6707
  if (bounds.x && bounds.y &&
@@ -6735,10 +6730,8 @@ var GMapCounties = /** @class */ (function (_super) {
6735
6730
  _super.prototype.exit.call(this, domNode, element);
6736
6731
  };
6737
6732
  GMapCounties.prototype.click = function (row, column, selected) {
6738
- console.log("Click: " + JSON.stringify(row) + ", " + column + "," + selected);
6739
6733
  };
6740
6734
  GMapCounties.prototype.dblclick = function (row, column, selected) {
6741
- console.log("Double click: " + JSON.stringify(row) + ", " + column + "," + selected);
6742
6735
  };
6743
6736
  return GMapCounties;
6744
6737
  }(GMapLayered));
@@ -7045,10 +7038,8 @@ var Pins$1 = /** @class */ (function (_super) {
7045
7038
  };
7046
7039
  // Events ---
7047
7040
  Pins.prototype.click = function (row, column, selected) {
7048
- console.log("Click: " + JSON.stringify(row) + ", " + column + ", " + selected);
7049
7041
  };
7050
7042
  Pins.prototype.dblclick = function (row, column, selected) {
7051
- console.log("Double click: " + JSON.stringify(row) + ", " + column + ", " + selected);
7052
7043
  };
7053
7044
  return Pins;
7054
7045
  }(Layer));
@@ -7124,7 +7115,6 @@ var GMapPin = /** @class */ (function (_super) {
7124
7115
  _super.prototype.exit.call(this, domNode, element);
7125
7116
  };
7126
7117
  GMapPin.prototype.click = function (row, column, selected) {
7127
- console.log("Click: " + JSON.stringify(row) + ", " + column + "," + selected);
7128
7118
  };
7129
7119
  GMapPin.prototype.clickStreetView = function (row, column, selected) {
7130
7120
  if (this.streetViewOnClick()) {
@@ -7135,7 +7125,6 @@ var GMapPin = /** @class */ (function (_super) {
7135
7125
  }
7136
7126
  };
7137
7127
  GMapPin.prototype.dblclick = function (row, column, selected) {
7138
- console.log("Double click: " + JSON.stringify(row) + ", " + column + "," + selected);
7139
7128
  };
7140
7129
  return GMapPin;
7141
7130
  }(GMapLayered));
@@ -7284,10 +7273,8 @@ var GMapPinLine = /** @class */ (function (_super) {
7284
7273
  _super.prototype.exit.call(this, domNode, element);
7285
7274
  };
7286
7275
  GMapPinLine.prototype.click = function (row, column, selected) {
7287
- console.log("Click: " + JSON.stringify(row) + ", " + column + "," + selected);
7288
7276
  };
7289
7277
  GMapPinLine.prototype.dblclick = function (row, column, selected) {
7290
- console.log("Double click: " + JSON.stringify(row) + ", " + column + "," + selected);
7291
7278
  };
7292
7279
  return GMapPinLine;
7293
7280
  }(GMapLayered));
@@ -7442,7 +7429,7 @@ Graticule.prototype.publish("opacity", 1.0, "number", "Opacity", null, { tags: [
7442
7429
  Graticule.prototype.publish("meshColor", null, "html-color", "Stroke Color", null, { optional: true });
7443
7430
  Graticule.prototype.publish("meshStrokeWidth", 0.25, "number", "Stroke Width");
7444
7431
 
7445
- var css_248z$4 = ".map_Heat{//pointer-events:none}.map_Heat canvas{pointer-events:none}";
7432
+ var css_248z$4 = ".map_Heat canvas{pointer-events:none}";
7446
7433
  styleInject(css_248z$4);
7447
7434
 
7448
7435
  var Heat = /** @class */ (function (_super) {
@@ -7508,7 +7495,6 @@ function IChoropleth() {
7508
7495
  IChoropleth.prototype._palette = Palette.rainbow("default");
7509
7496
  // Events ---
7510
7497
  IChoropleth.prototype.click = function (row, column, selected) {
7511
- console.log("Click: " + JSON.stringify(row) + ", " + column + ", " + selected);
7512
7498
  };
7513
7499
 
7514
7500
  function defaultScale(t) {
@@ -7654,9 +7640,6 @@ var OpenStreet = /** @class */ (function (_super) {
7654
7640
  var scaleGUpdate = scaleG.enter().append("g")
7655
7641
  .attr("class", "scaleG")
7656
7642
  .attr("transform", stringify(tilesScale))
7657
- .each(function (d) {
7658
- console.log(d);
7659
- })
7660
7643
  .merge(scaleG);
7661
7644
  scaleG.exit()
7662
7645
  .style("opacity", 1)
@@ -7680,9 +7663,6 @@ var OpenStreet = /** @class */ (function (_super) {
7680
7663
  .attr("width", 256)
7681
7664
  .attr("height", 256)
7682
7665
  .attr("xlink:href", function (d) { return "http://" + "abc"[d.y % 3] + ".tile.openstreetmap.org/" + d.z + "/" + d.x + "/" + d.y + ".png"; })
7683
- .each(function (d) {
7684
- console.log("http://" + "abc"[d.y % 3] + ".tile.openstreetmap.org/" + d.z + "/" + d.x + "/" + d.y + ".png");
7685
- })
7686
7666
  .transition().duration(500)
7687
7667
  .style("opacity", 1);
7688
7668
  };
@@ -7766,7 +7746,7 @@ TopoJSONChoropleth.prototype.layerUpdate = function (base) {
7766
7746
  .attr("d", function (d) {
7767
7747
  var retVal = base._d3GeoPath(context._choroTopologyFeatures[d[0]]);
7768
7748
  if (!retVal) {
7769
- console.log("Unknown Country: " + d);
7749
+ console.warn("Unknown Country: " + d);
7770
7750
  }
7771
7751
  return retVal;
7772
7752
  })
@@ -7807,7 +7787,7 @@ var dist = {exports: {}};
7807
7787
  (function (module, exports) {
7808
7788
  (function webpackUniversalModuleDefinition(root, factory) {
7809
7789
  module.exports = factory();
7810
- })(self, function() {
7790
+ })(self, () => {
7811
7791
  return /******/ (() => { // webpackBootstrap
7812
7792
  /******/ var __webpack_modules__ = ({
7813
7793
 
@@ -7826,9 +7806,9 @@ return /******/ (() => { // webpackBootstrap
7826
7806
 
7827
7807
 
7828
7808
 
7829
- var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require__(614), __webpack_require__.b);
7830
- var ___CSS_LOADER_URL_IMPORT_1___ = new URL(/* asset import */ __webpack_require__(39), __webpack_require__.b);
7831
- var ___CSS_LOADER_URL_IMPORT_2___ = new URL(/* asset import */ __webpack_require__(856), __webpack_require__.b);
7809
+ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require__(2), __webpack_require__.b);
7810
+ var ___CSS_LOADER_URL_IMPORT_1___ = new URL(/* asset import */ __webpack_require__(122), __webpack_require__.b);
7811
+ var ___CSS_LOADER_URL_IMPORT_2___ = new URL(/* asset import */ __webpack_require__(734), __webpack_require__.b);
7832
7812
  var ___CSS_LOADER_EXPORT___ = _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
7833
7813
  var ___CSS_LOADER_URL_REPLACEMENT_0___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
7834
7814
  var ___CSS_LOADER_URL_REPLACEMENT_1___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_1___);
@@ -7898,9 +7878,9 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".leaflet-cluster-anim .leaflet-marker-
7898
7878
 
7899
7879
 
7900
7880
 
7901
- var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require__(212), __webpack_require__.b);
7902
- var ___CSS_LOADER_URL_IMPORT_1___ = new URL(/* asset import */ __webpack_require__(555), __webpack_require__.b);
7903
- var ___CSS_LOADER_URL_IMPORT_2___ = new URL(/* asset import */ __webpack_require__(758), __webpack_require__.b);
7881
+ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require__(263), __webpack_require__.b);
7882
+ var ___CSS_LOADER_URL_IMPORT_1___ = new URL(/* asset import */ __webpack_require__(262), __webpack_require__.b);
7883
+ var ___CSS_LOADER_URL_IMPORT_2___ = new URL(/* asset import */ __webpack_require__(19), __webpack_require__.b);
7904
7884
  var ___CSS_LOADER_EXPORT___ = _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
7905
7885
  var ___CSS_LOADER_URL_REPLACEMENT_0___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
7906
7886
  var ___CSS_LOADER_URL_REPLACEMENT_1___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_1___);
@@ -28061,37 +28041,37 @@ var HeatLayer = /** @class */ (function (_super) {
28061
28041
 
28062
28042
  /***/ }),
28063
28043
 
28064
- /***/ 856:
28044
+ /***/ 734:
28065
28045
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
28066
28046
  module.exports = __webpack_require__.p + "c6e9c007f41bd4d26c20.png";
28067
28047
 
28068
28048
  /***/ }),
28069
28049
 
28070
- /***/ 614:
28050
+ /***/ 2:
28071
28051
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
28072
28052
  module.exports = __webpack_require__.p + "44b38a404dec4643c46b.png";
28073
28053
 
28074
28054
  /***/ }),
28075
28055
 
28076
- /***/ 39:
28056
+ /***/ 122:
28077
28057
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
28078
28058
  module.exports = __webpack_require__.p + "194137260531ee29a5f2.svg";
28079
28059
 
28080
28060
  /***/ }),
28081
28061
 
28082
- /***/ 555:
28062
+ /***/ 262:
28083
28063
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
28084
28064
  module.exports = __webpack_require__.p + "4a4ee777ddc0d4cedee4.png";
28085
28065
 
28086
28066
  /***/ }),
28087
28067
 
28088
- /***/ 212:
28068
+ /***/ 263:
28089
28069
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
28090
28070
  module.exports = __webpack_require__.p + "011a678e3efe41981754.png";
28091
28071
 
28092
28072
  /***/ }),
28093
28073
 
28094
- /***/ 758:
28074
+ /***/ 19:
28095
28075
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
28096
28076
  module.exports = __webpack_require__.p + "1e8408af1a34bdf61457.png";
28097
28077