fix: setting center and zoom manually should set dirty status

Co-authored-by: David Larlet <david@larlet.fr>
This commit is contained in:
Yohan Boniface 2025-04-23 18:00:48 +02:00
parent efaa765b82
commit 19d16ac01b

View file

@ -824,7 +824,7 @@ export default class Umap {
`<button type="button">${translate('Use current center and zoom')}</button>`
)
button.addEventListener('click', () => {
this._setCenterAndZoom()
this.setCenterAndZoom()
builder.fetchAll()
})
container.appendChild(form)