Fix: actually pass the initial coordinate in the locationInput element, fix #1486
This commit is contained in:
parent
775886b2b9
commit
68e07d7d7b
1 changed files with 2 additions and 1 deletions
|
@ -73,7 +73,7 @@ export default class MoveWizard extends Toggle {
|
|||
lockBounds: true,
|
||||
includeSearch: false,
|
||||
background: "photo",
|
||||
startZoom: 17,
|
||||
startZoom: 18,
|
||||
minZoom: 16,
|
||||
eraseAddressFields: false,
|
||||
})
|
||||
|
@ -139,6 +139,7 @@ export default class MoveWizard extends Toggle {
|
|||
new SvelteUIElement(LocationInput, {
|
||||
mapProperties,
|
||||
value,
|
||||
initialCoordinate: { lon, lat },
|
||||
}).SetClass("w-full h-full"),
|
||||
new SvelteUIElement(OpenBackgroundSelectorButton, { state }).SetClass(
|
||||
"absolute bottom-0 left-0"
|
||||
|
|
Loading…
Reference in a new issue