@hpcc-js/map 2.65.0 → 2.66.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.
- package/dist/index.es6.js +4 -3
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +9 -9
- package/src/Choropleth.ts +1 -1
- package/src/ChoroplethCounties.ts +1 -1
- package/src/ChoroplethCountries.ts +1 -1
- package/src/ChoroplethStates.ts +1 -1
- package/src/TopoJSONChoropleth.ts +2 -2
- package/src/__package__.ts +2 -2
- package/src/leaflet/Countries.ts +1 -1
- package/src/leaflet/Region.ts +1 -1
- package/src/leaflet/TopoJSON.ts +1 -1
- package/src/leaflet/USCounties.ts +1 -1
- package/src/leaflet/USStates.ts +1 -1
- package/types/__package__.d.ts +2 -2
- package/types-3.4/__package__.d.ts +2 -2
package/dist/index.es6.js
CHANGED
|
@@ -6,8 +6,8 @@ import { Graph as Graph$1, Edge } from '@hpcc-js/graph';
|
|
|
6
6
|
import { HeatMap } from '@hpcc-js/other';
|
|
7
7
|
|
|
8
8
|
var PKG_NAME = "@hpcc-js/map";
|
|
9
|
-
var PKG_VERSION = "2.
|
|
10
|
-
var BUILD_VERSION = "2.
|
|
9
|
+
var PKG_VERSION = "2.66.0";
|
|
10
|
+
var BUILD_VERSION = "2.92.0";
|
|
11
11
|
|
|
12
12
|
/*! *****************************************************************************
|
|
13
13
|
Copyright (c) Microsoft Corporation.
|
|
@@ -4766,6 +4766,7 @@ function reverse(array, n) {
|
|
|
4766
4766
|
}
|
|
4767
4767
|
|
|
4768
4768
|
function feature(topology, o) {
|
|
4769
|
+
if (typeof o === "string") o = topology.objects[o];
|
|
4769
4770
|
return o.type === "GeometryCollection"
|
|
4770
4771
|
? {type: "FeatureCollection", features: o.geometries.map(function(o) { return feature$1(topology, o); })}
|
|
4771
4772
|
: feature$1(topology, o);
|
|
@@ -7693,7 +7694,7 @@ TestHeatMap.prototype._class += " map_TestHeatMap";
|
|
|
7693
7694
|
|
|
7694
7695
|
function TopoJSONChoropleth() {
|
|
7695
7696
|
Choropleth.call(this);
|
|
7696
|
-
this.projection("
|
|
7697
|
+
this.projection("Mercator");
|
|
7697
7698
|
}
|
|
7698
7699
|
TopoJSONChoropleth.prototype = Object.create(Choropleth.prototype);
|
|
7699
7700
|
TopoJSONChoropleth.prototype.constructor = TopoJSONChoropleth;
|