@antv/l7-layers 2.9.31 → 2.9.32-alpha.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.
|
@@ -285,7 +285,7 @@ var TileFactory = /*#__PURE__*/function () {
|
|
|
285
285
|
var _this = this;
|
|
286
286
|
|
|
287
287
|
layers.map(function (layer) {
|
|
288
|
-
layer.once('
|
|
288
|
+
layer.once('modelLoaded', function () {
|
|
289
289
|
layer.on('click', function (e) {
|
|
290
290
|
_this.eventCache.click = 1;
|
|
291
291
|
|
|
@@ -311,7 +311,7 @@ var TileFactory = /*#__PURE__*/function () {
|
|
|
311
311
|
var _this = this;
|
|
312
312
|
|
|
313
313
|
layers.map(function (layer) {
|
|
314
|
-
layer.once('
|
|
314
|
+
layer.once('modelLoaded', function () {
|
|
315
315
|
layer.on('click', function (e) {
|
|
316
316
|
_this.eventCache.click = 1;
|
|
317
317
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antv/l7-layers",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.32-alpha.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.2",
|
|
30
|
-
"@antv/l7-core": "2.9.
|
|
31
|
-
"@antv/l7-maps": "2.9.
|
|
32
|
-
"@antv/l7-source": "2.9.
|
|
33
|
-
"@antv/l7-utils": "2.9.
|
|
30
|
+
"@antv/l7-core": "2.9.32-alpha.1",
|
|
31
|
+
"@antv/l7-maps": "2.9.32-alpha.1",
|
|
32
|
+
"@antv/l7-source": "2.9.32-alpha.1",
|
|
33
|
+
"@antv/l7-utils": "2.9.32-alpha.1",
|
|
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": "
|
|
64
|
+
"gitHead": "3605ad7724ff58f38c6e22e195d103edfbcb5bc0",
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
}
|