@hpcc-js/map 2.75.5 → 2.75.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/dist/index.es6.js +8 -28
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +8 -28
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/package.json +10 -10
- package/src/Choropleth.ts +0 -2
- package/src/ChoroplethCounties.ts +1 -1
- package/src/ChoroplethCountries.ts +1 -1
- package/src/ChoroplethStates.ts +1 -1
- package/src/GMap.ts +5 -5
- package/src/GMapCounties.ts +0 -3
- package/src/GMapPin.ts +0 -2
- package/src/GMapPinLine.ts +0 -2
- package/src/GeoHash.ts +0 -2
- package/src/IChoropleth.ts +0 -1
- package/src/OpenStreet.ts +0 -6
- package/src/Pins.ts +0 -2
- package/src/Projection.ts +1 -1
- package/src/TopoJSONChoropleth.ts +1 -1
- package/src/__package__.ts +2 -2
- package/src/test.ts +1 -0
- package/types/Choropleth.d.ts.map +1 -1
- package/types/GMapCounties.d.ts.map +1 -1
- package/types/GMapPin.d.ts.map +1 -1
- package/types/GMapPinLine.d.ts.map +1 -1
- package/types/GeoHash.d.ts.map +1 -1
- package/types/OpenStreet.d.ts.map +1 -1
- package/types/Pins.d.ts.map +1 -1
- package/types/__package__.d.ts +2 -2
- package/types/test.d.ts.map +1 -1
- package/types-3.4/__package__.d.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
var PKG_NAME = "@hpcc-js/map";
|
|
23
|
-
var PKG_VERSION = "2.75.
|
|
24
|
-
var BUILD_VERSION = "2.102.
|
|
23
|
+
var PKG_VERSION = "2.75.6";
|
|
24
|
+
var BUILD_VERSION = "2.102.11";
|
|
25
25
|
|
|
26
26
|
/*! *****************************************************************************
|
|
27
27
|
Copyright (c) Microsoft Corporation.
|
|
@@ -4447,7 +4447,7 @@
|
|
|
4447
4447
|
if (retVal) {
|
|
4448
4448
|
return retVal();
|
|
4449
4449
|
}
|
|
4450
|
-
console.
|
|
4450
|
+
console.warn("Unknown projection: " + id);
|
|
4451
4451
|
return mercator();
|
|
4452
4452
|
}
|
|
4453
4453
|
|
|
@@ -5094,10 +5094,8 @@
|
|
|
5094
5094
|
};
|
|
5095
5095
|
// Events ---
|
|
5096
5096
|
Choropleth.prototype.click = function (row, column, selected) {
|
|
5097
|
-
console.log("Click: " + JSON.stringify(row) + ", " + column + ", " + selected);
|
|
5098
5097
|
};
|
|
5099
5098
|
Choropleth.prototype.dblclick = function (row, column, selected) {
|
|
5100
|
-
console.log("Double click: " + JSON.stringify(row) + ", " + column + ", " + selected);
|
|
5101
5099
|
};
|
|
5102
5100
|
return Choropleth;
|
|
5103
5101
|
}(Layer));
|
|
@@ -5325,7 +5323,7 @@
|
|
|
5325
5323
|
.attr("d", function (d) {
|
|
5326
5324
|
var retVal = base._d3GeoPath(rFeatures$3[d[0]]);
|
|
5327
5325
|
if (!retVal) {
|
|
5328
|
-
console.
|
|
5326
|
+
console.warn("Unknown Country: " + d);
|
|
5329
5327
|
}
|
|
5330
5328
|
return retVal;
|
|
5331
5329
|
})
|
|
@@ -5418,7 +5416,7 @@
|
|
|
5418
5416
|
.attr("d", function (d) {
|
|
5419
5417
|
var retVal = base._d3GeoPath(rFeatures$2[d[0]]);
|
|
5420
5418
|
if (!retVal) {
|
|
5421
|
-
console.
|
|
5419
|
+
console.warn("Unknown US County: " + d[0]);
|
|
5422
5420
|
}
|
|
5423
5421
|
return retVal;
|
|
5424
5422
|
})
|
|
@@ -5506,7 +5504,7 @@
|
|
|
5506
5504
|
.attr("d", function (d) {
|
|
5507
5505
|
var retVal = base._d3GeoPath(rFeatures$1[d[0]]);
|
|
5508
5506
|
if (!retVal) {
|
|
5509
|
-
console.
|
|
5507
|
+
console.warn("Unknown US State: " + d[0]);
|
|
5510
5508
|
}
|
|
5511
5509
|
return retVal;
|
|
5512
5510
|
})
|
|
@@ -5630,10 +5628,8 @@
|
|
|
5630
5628
|
};
|
|
5631
5629
|
// Events ---
|
|
5632
5630
|
GeoHash.prototype.click = function (row, column, selected) {
|
|
5633
|
-
console.log("Click: " + JSON.stringify(row) + ", " + column + ", " + selected);
|
|
5634
5631
|
};
|
|
5635
5632
|
GeoHash.prototype.dblclick = function (row, column, selected) {
|
|
5636
|
-
console.log("Double click: " + JSON.stringify(row) + ", " + column + ", " + selected);
|
|
5637
5633
|
};
|
|
5638
5634
|
return GeoHash;
|
|
5639
5635
|
}(Layer));
|
|
@@ -6563,7 +6559,7 @@
|
|
|
6563
6559
|
}
|
|
6564
6560
|
};
|
|
6565
6561
|
GMap.prototype.statusError = function (response) {
|
|
6566
|
-
console.
|
|
6562
|
+
console.warn("Data not found for this location.");
|
|
6567
6563
|
};
|
|
6568
6564
|
return GMap;
|
|
6569
6565
|
}(common.HTMLWidget));
|
|
@@ -6705,7 +6701,6 @@
|
|
|
6705
6701
|
GMapCounties.prototype.render = function (callback) {
|
|
6706
6702
|
var _this = this;
|
|
6707
6703
|
return _super.prototype.render.call(this, function (w) {
|
|
6708
|
-
console.log("as:" + _this.autoScale());
|
|
6709
6704
|
if (_this._renderCount > 1 && _this.autoScale()) {
|
|
6710
6705
|
var bounds = _this._counties.getDataBounds();
|
|
6711
6706
|
if (bounds.x && bounds.y &&
|
|
@@ -6734,10 +6729,8 @@
|
|
|
6734
6729
|
_super.prototype.exit.call(this, domNode, element);
|
|
6735
6730
|
};
|
|
6736
6731
|
GMapCounties.prototype.click = function (row, column, selected) {
|
|
6737
|
-
console.log("Click: " + JSON.stringify(row) + ", " + column + "," + selected);
|
|
6738
6732
|
};
|
|
6739
6733
|
GMapCounties.prototype.dblclick = function (row, column, selected) {
|
|
6740
|
-
console.log("Double click: " + JSON.stringify(row) + ", " + column + "," + selected);
|
|
6741
6734
|
};
|
|
6742
6735
|
return GMapCounties;
|
|
6743
6736
|
}(GMapLayered));
|
|
@@ -7044,10 +7037,8 @@
|
|
|
7044
7037
|
};
|
|
7045
7038
|
// Events ---
|
|
7046
7039
|
Pins.prototype.click = function (row, column, selected) {
|
|
7047
|
-
console.log("Click: " + JSON.stringify(row) + ", " + column + ", " + selected);
|
|
7048
7040
|
};
|
|
7049
7041
|
Pins.prototype.dblclick = function (row, column, selected) {
|
|
7050
|
-
console.log("Double click: " + JSON.stringify(row) + ", " + column + ", " + selected);
|
|
7051
7042
|
};
|
|
7052
7043
|
return Pins;
|
|
7053
7044
|
}(Layer));
|
|
@@ -7123,7 +7114,6 @@
|
|
|
7123
7114
|
_super.prototype.exit.call(this, domNode, element);
|
|
7124
7115
|
};
|
|
7125
7116
|
GMapPin.prototype.click = function (row, column, selected) {
|
|
7126
|
-
console.log("Click: " + JSON.stringify(row) + ", " + column + "," + selected);
|
|
7127
7117
|
};
|
|
7128
7118
|
GMapPin.prototype.clickStreetView = function (row, column, selected) {
|
|
7129
7119
|
if (this.streetViewOnClick()) {
|
|
@@ -7134,7 +7124,6 @@
|
|
|
7134
7124
|
}
|
|
7135
7125
|
};
|
|
7136
7126
|
GMapPin.prototype.dblclick = function (row, column, selected) {
|
|
7137
|
-
console.log("Double click: " + JSON.stringify(row) + ", " + column + "," + selected);
|
|
7138
7127
|
};
|
|
7139
7128
|
return GMapPin;
|
|
7140
7129
|
}(GMapLayered));
|
|
@@ -7283,10 +7272,8 @@
|
|
|
7283
7272
|
_super.prototype.exit.call(this, domNode, element);
|
|
7284
7273
|
};
|
|
7285
7274
|
GMapPinLine.prototype.click = function (row, column, selected) {
|
|
7286
|
-
console.log("Click: " + JSON.stringify(row) + ", " + column + "," + selected);
|
|
7287
7275
|
};
|
|
7288
7276
|
GMapPinLine.prototype.dblclick = function (row, column, selected) {
|
|
7289
|
-
console.log("Double click: " + JSON.stringify(row) + ", " + column + "," + selected);
|
|
7290
7277
|
};
|
|
7291
7278
|
return GMapPinLine;
|
|
7292
7279
|
}(GMapLayered));
|
|
@@ -7507,7 +7494,6 @@
|
|
|
7507
7494
|
IChoropleth.prototype._palette = common.Palette.rainbow("default");
|
|
7508
7495
|
// Events ---
|
|
7509
7496
|
IChoropleth.prototype.click = function (row, column, selected) {
|
|
7510
|
-
console.log("Click: " + JSON.stringify(row) + ", " + column + ", " + selected);
|
|
7511
7497
|
};
|
|
7512
7498
|
|
|
7513
7499
|
function defaultScale(t) {
|
|
@@ -7653,9 +7639,6 @@
|
|
|
7653
7639
|
var scaleGUpdate = scaleG.enter().append("g")
|
|
7654
7640
|
.attr("class", "scaleG")
|
|
7655
7641
|
.attr("transform", stringify(tilesScale))
|
|
7656
|
-
.each(function (d) {
|
|
7657
|
-
console.log(d);
|
|
7658
|
-
})
|
|
7659
7642
|
.merge(scaleG);
|
|
7660
7643
|
scaleG.exit()
|
|
7661
7644
|
.style("opacity", 1)
|
|
@@ -7679,9 +7662,6 @@
|
|
|
7679
7662
|
.attr("width", 256)
|
|
7680
7663
|
.attr("height", 256)
|
|
7681
7664
|
.attr("xlink:href", function (d) { return "http://" + "abc"[d.y % 3] + ".tile.openstreetmap.org/" + d.z + "/" + d.x + "/" + d.y + ".png"; })
|
|
7682
|
-
.each(function (d) {
|
|
7683
|
-
console.log("http://" + "abc"[d.y % 3] + ".tile.openstreetmap.org/" + d.z + "/" + d.x + "/" + d.y + ".png");
|
|
7684
|
-
})
|
|
7685
7665
|
.transition().duration(500)
|
|
7686
7666
|
.style("opacity", 1);
|
|
7687
7667
|
};
|
|
@@ -7765,7 +7745,7 @@
|
|
|
7765
7745
|
.attr("d", function (d) {
|
|
7766
7746
|
var retVal = base._d3GeoPath(context._choroTopologyFeatures[d[0]]);
|
|
7767
7747
|
if (!retVal) {
|
|
7768
|
-
console.
|
|
7748
|
+
console.warn("Unknown Country: " + d);
|
|
7769
7749
|
}
|
|
7770
7750
|
return retVal;
|
|
7771
7751
|
})
|