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() }) }