forked from MapComplete/MapComplete
Merge develop
This commit is contained in:
commit
553ee6d5aa
165 changed files with 6745 additions and 1720 deletions
|
@ -563,7 +563,10 @@ export default class SpecialVisualizations {
|
|||
feature: Feature
|
||||
): BaseUIElement {
|
||||
const [lon, lat] = GeoOperations.centerpointCoordinates(feature)
|
||||
return new SvelteUIElement(CreateNewNote, { state, coordinate: { lon, lat } })
|
||||
return new SvelteUIElement(CreateNewNote, {
|
||||
state,
|
||||
coordinate: new UIEventSource({ lon, lat }),
|
||||
})
|
||||
},
|
||||
},
|
||||
new CloseNoteButton(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue