@antv/l7-layers 2.11.4 → 2.11.5

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.
@@ -106,7 +106,9 @@ var PixelPickingPlugin = (_dec = injectable(), _dec(_class = /*#__PURE__*/functi
106
106
  return model.addUniforms({
107
107
  u_PickingStage: PickingStage.HIGHLIGHT,
108
108
  u_PickingColor: pickedColor,
109
- // u_HighlightColor: highlightColorInArray.map((c) => c * 255),
109
+ u_HighlightColor: highlightColorInArray.map(function (c) {
110
+ return c * 255;
111
+ }),
110
112
  u_activeMix: selectMix,
111
113
  u_CurrentSelectedId: pickedColor,
112
114
  u_SelectColor: highlightColorInArray.map(function (c) {
@@ -120,7 +120,9 @@ var PixelPickingPlugin = (_dec = (0, _inversify.injectable)(), _dec(_class = /*#
120
120
  return model.addUniforms({
121
121
  u_PickingStage: PickingStage.HIGHLIGHT,
122
122
  u_PickingColor: pickedColor,
123
- // u_HighlightColor: highlightColorInArray.map((c) => c * 255),
123
+ u_HighlightColor: highlightColorInArray.map(function (c) {
124
+ return c * 255;
125
+ }),
124
126
  u_activeMix: selectMix,
125
127
  u_CurrentSelectedId: pickedColor,
126
128
  u_SelectColor: highlightColorInArray.map(function (c) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/l7-layers",
3
- "version": "2.11.4",
3
+ "version": "2.11.5",
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.11.4",
31
- "@antv/l7-maps": "2.11.4",
32
- "@antv/l7-source": "2.11.4",
33
- "@antv/l7-utils": "2.11.4",
30
+ "@antv/l7-core": "2.11.5",
31
+ "@antv/l7-maps": "2.11.5",
32
+ "@antv/l7-source": "2.11.5",
33
+ "@antv/l7-utils": "2.11.5",
34
34
  "@babel/runtime": "^7.7.7",
35
35
  "@mapbox/martini": "^0.2.0",
36
36
  "@turf/clone": "^6.5.0",
@@ -61,7 +61,7 @@
61
61
  "@types/gl-matrix": "^2.4.5",
62
62
  "@types/lodash": "^4.14.138"
63
63
  },
64
- "gitHead": "ba7891204096a2d565fffdf27210ed98e7d26ebf",
64
+ "gitHead": "b579a9cd07876173c77bd9d880034d8cbbeef87c",
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  }