From b6ee3ffa2b14c6f36443960844da8709186adecf Mon Sep 17 00:00:00 2001 From: hu de yi Date: Wed, 13 Nov 2024 15:18:59 +0800 Subject: [PATCH] update demos --- demo/update-mask.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/update-mask.html b/demo/update-mask.html index 40c39fe..ac4180c 100644 --- a/demo/update-mask.html +++ b/demo/update-mask.html @@ -109,7 +109,7 @@ const p1 = tileActor.injectMask(maskId1, geojsons[0].features[0]); const p2 = tileActor.injectMask(maskId2, geojsons[1].features[0]); - Promise.all([featch1, featch2]).then(data => { + Promise.all([p1, p2]).then(data => { baseLayer.addTo(groupLayer); document.querySelector('.tools').style.display = 'block'; });