@antv/l7-layers 2.14.7 → 2.15.1

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.
@@ -800,7 +800,7 @@ var BaseLayer = (_dec = lazyInject(TYPES.IGlobalConfigService), (_class = /*#__P
800
800
  highlightColor: isObject(options) ? options.color : this.getLayerConfig().highlightColor,
801
801
  activeMix: isObject(options) ? options.mix : this.getLayerConfig().activeMix
802
802
  });
803
- this.hooks.beforeSelect.call(encodePickingColor(id)) // @ts-ignore
803
+ this.hooks.beforeHighlight.call(encodePickingColor(id)) // @ts-ignore
804
804
  .then(function () {
805
805
  setTimeout(function () {
806
806
  _this6.reRender();
@@ -801,7 +801,7 @@ var BaseLayer = (_dec = (0, _l7Core.lazyInject)(_l7Core.TYPES.IGlobalConfigServi
801
801
  highlightColor: (0, _lodash.isObject)(options) ? options.color : this.getLayerConfig().highlightColor,
802
802
  activeMix: (0, _lodash.isObject)(options) ? options.mix : this.getLayerConfig().activeMix
803
803
  });
804
- this.hooks.beforeSelect.call((0, _l7Utils.encodePickingColor)(id)) // @ts-ignore
804
+ this.hooks.beforeHighlight.call((0, _l7Utils.encodePickingColor)(id)) // @ts-ignore
805
805
  .then(function () {
806
806
  setTimeout(function () {
807
807
  _this6.reRender();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/l7-layers",
3
- "version": "2.14.7",
3
+ "version": "2.15.1",
4
4
  "description": "L7's collection of built-in layers",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -27,10 +27,10 @@
27
27
  "license": "ISC",
28
28
  "dependencies": {
29
29
  "@antv/async-hook": "^2.2.9",
30
- "@antv/l7-core": "2.14.7",
31
- "@antv/l7-maps": "2.14.7",
32
- "@antv/l7-source": "2.14.7",
33
- "@antv/l7-utils": "2.14.7",
30
+ "@antv/l7-core": "2.15.1",
31
+ "@antv/l7-maps": "2.15.1",
32
+ "@antv/l7-source": "2.15.1",
33
+ "@antv/l7-utils": "2.15.1",
34
34
  "@babel/runtime": "^7.7.7",
35
35
  "@mapbox/martini": "^0.2.0",
36
36
  "@turf/clone": "^6.5.0",
@@ -53,7 +53,7 @@
53
53
  "reflect-metadata": "^0.1.13"
54
54
  },
55
55
  "devDependencies": {
56
- "@antv/l7-test-utils": "2.14.7",
56
+ "@antv/l7-test-utils": "2.15.1",
57
57
  "@types/d3-array": "^2.0.0",
58
58
  "@types/d3-color": "^1.2.2",
59
59
  "@types/d3-interpolate": "1.1.6",
@@ -62,7 +62,7 @@
62
62
  "@types/gl-matrix": "^2.4.5",
63
63
  "@types/lodash": "^4.14.138"
64
64
  },
65
- "gitHead": "66930cd0d38ec341382493065defb77911c38d15",
65
+ "gitHead": "8185d8864534a426f6744f3c035f2fb4dcc1b3ba",
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  }