mirror of https://gitee.com/antv-l7/antv-l7
chore: update async-hooks version
This commit is contained in:
parent
edba1fabbc
commit
02bae0265f
|
@ -112,10 +112,10 @@ export default () => {
|
||||||
|
|
||||||
scene.addLayer(layer);
|
scene.addLayer(layer);
|
||||||
|
|
||||||
layer.on('click', (e) => {
|
// layer.on('click', (e) => {
|
||||||
console.log('layer click');
|
// console.log('layer click');
|
||||||
console.log(e);
|
// console.log(e);
|
||||||
});
|
// });
|
||||||
|
|
||||||
// setTimeout(() => {
|
// setTimeout(() => {
|
||||||
// layer.style({
|
// layer.style({
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
"author": "xiaoiver",
|
"author": "xiaoiver",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@antv/async-hook": "^2.2.4",
|
"@antv/async-hook": "^2.2.5",
|
||||||
"@antv/l7-utils": "2.9.36",
|
"@antv/l7-utils": "2.9.36",
|
||||||
"@babel/runtime": "^7.7.7",
|
"@babel/runtime": "^7.7.7",
|
||||||
"@turf/helpers": "^6.1.4",
|
"@turf/helpers": "^6.1.4",
|
||||||
|
|
|
@ -152,7 +152,7 @@ export default class LayerService implements ILayerService {
|
||||||
framebuffer: null,
|
framebuffer: null,
|
||||||
});
|
});
|
||||||
layer.masks.map(async (m: ILayer) => {
|
layer.masks.map(async (m: ILayer) => {
|
||||||
m.hooks.beforeRenderData.promise();
|
await m.hooks.beforeRenderData.promise();
|
||||||
m.hooks.beforeRender.call();
|
m.hooks.beforeRender.call();
|
||||||
m.render();
|
m.render();
|
||||||
m.hooks.afterRender.call();
|
m.hooks.afterRender.call();
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
"author": "xiaoiver",
|
"author": "xiaoiver",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@antv/async-hook": "^2.2.4",
|
"@antv/async-hook": "^2.2.5",
|
||||||
"@antv/l7-core": "2.9.36",
|
"@antv/l7-core": "2.9.36",
|
||||||
"@antv/l7-maps": "2.9.36",
|
"@antv/l7-maps": "2.9.36",
|
||||||
"@antv/l7-source": "2.9.36",
|
"@antv/l7-source": "2.9.36",
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
"author": "lzxue",
|
"author": "lzxue",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@antv/async-hook": "^2.2.4",
|
"@antv/async-hook": "^2.2.5",
|
||||||
"@antv/l7-core": "2.9.36",
|
"@antv/l7-core": "2.9.36",
|
||||||
"@antv/l7-utils": "2.9.36",
|
"@antv/l7-utils": "2.9.36",
|
||||||
"@babel/runtime": "^7.7.7",
|
"@babel/runtime": "^7.7.7",
|
||||||
|
|
Loading…
Reference in New Issue