From a442e56cbca91106ba37a6cea168479d0f60288e Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Fri, 31 Jan 2025 17:28:09 +0100 Subject: [PATCH] fixup: use correct delete function for DataLayer --- umap/static/umap/js/modules/umap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/static/umap/js/modules/umap.js b/umap/static/umap/js/modules/umap.js index 648d50c6..4195c428 100644 --- a/umap/static/umap/js/modules/umap.js +++ b/umap/static/umap/js/modules/umap.js @@ -1450,7 +1450,7 @@ export default class Umap extends ServerStored { removeDataLayers() { this.eachDataLayerReverse((datalayer) => { - datalayer._delete() + datalayer.del() }) }