mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
fixup: do not close panel when clicking on search edit buttons
Co-authored-by: David Larlet <david@larlet.fr>
This commit is contained in:
parent
0def3292e1
commit
89e2a01d60
1 changed files with 0 additions and 2 deletions
|
@ -443,7 +443,6 @@ U.Search = L.PhotonSearch.extend({
|
|||
const marker = datalayer.makeFeature(feature)
|
||||
marker.isDirty = true
|
||||
marker.edit()
|
||||
this.map._umap.panel.close()
|
||||
})
|
||||
geom.addEventListener('mousedown', async (event) => {
|
||||
event.stopPropagation()
|
||||
|
@ -463,7 +462,6 @@ U.Search = L.PhotonSearch.extend({
|
|||
importer.format = 'osm'
|
||||
importer.raw = await response.text()
|
||||
importer.submit()
|
||||
this.map._umap.panel.close()
|
||||
}
|
||||
})
|
||||
el.appendChild(tools)
|
||||
|
|
Loading…
Reference in a new issue