From 19d16ac01be23a15c475c3ad050078a1ef31c6c7 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Wed, 23 Apr 2025 18:00:48 +0200 Subject: [PATCH] fix: setting center and zoom manually should set dirty status Co-authored-by: David Larlet --- 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 26c4fe72..f8a233eb 100644 --- a/umap/static/umap/js/modules/umap.js +++ b/umap/static/umap/js/modules/umap.js @@ -824,7 +824,7 @@ export default class Umap { `` ) button.addEventListener('click', () => { - this._setCenterAndZoom() + this.setCenterAndZoom() builder.fetchAll() }) container.appendChild(form)