Allow to open the map in edit mode

This commit is contained in:
Yohan Boniface 2023-07-04 15:58:33 +02:00
parent 63a7ef00ea
commit 3786a767f2

View file

@ -259,6 +259,7 @@ L.U.Map.include({
this.onceDataLoaded(function () {
const slug = L.Util.queryString('feature')
if (slug && this.features_index[slug]) this.features_index[slug].view()
if (L.Util.queryString('edit')) this.enableEdit()
})
window.onbeforeunload = (e) => {