@hpcc-js/map 2.65.0 → 2.69.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.js CHANGED
@@ -5,8 +5,8 @@
5
5
  }(this, (function (exports, common, api, layout, util, graph, other) { 'use strict';
6
6
 
7
7
  var PKG_NAME = "@hpcc-js/map";
8
- var PKG_VERSION = "2.65.0";
9
- var BUILD_VERSION = "2.91.0";
8
+ var PKG_VERSION = "2.69.0";
9
+ var BUILD_VERSION = "2.95.0";
10
10
 
11
11
  /*! *****************************************************************************
12
12
  Copyright (c) Microsoft Corporation.
@@ -4765,6 +4765,7 @@
4765
4765
  }
4766
4766
 
4767
4767
  function feature(topology, o) {
4768
+ if (typeof o === "string") o = topology.objects[o];
4768
4769
  return o.type === "GeometryCollection"
4769
4770
  ? {type: "FeatureCollection", features: o.geometries.map(function(o) { return feature$1(topology, o); })}
4770
4771
  : feature$1(topology, o);
@@ -7692,7 +7693,7 @@
7692
7693
 
7693
7694
  function TopoJSONChoropleth() {
7694
7695
  Choropleth.call(this);
7695
- this.projection("mercator");
7696
+ this.projection("Mercator");
7696
7697
  }
7697
7698
  TopoJSONChoropleth.prototype = Object.create(Choropleth.prototype);
7698
7699
  TopoJSONChoropleth.prototype.constructor = TopoJSONChoropleth;