forked from MapComplete/MapComplete
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,
|
lockBounds: true,
|
||||||
includeSearch: false,
|
includeSearch: false,
|
||||||
background: "photo",
|
background: "photo",
|
||||||
startZoom: 17,
|
startZoom: 18,
|
||||||
minZoom: 16,
|
minZoom: 16,
|
||||||
eraseAddressFields: false,
|
eraseAddressFields: false,
|
||||||
})
|
})
|
||||||
|
@ -139,6 +139,7 @@ export default class MoveWizard extends Toggle {
|
||||||
new SvelteUIElement(LocationInput, {
|
new SvelteUIElement(LocationInput, {
|
||||||
mapProperties,
|
mapProperties,
|
||||||
value,
|
value,
|
||||||
|
initialCoordinate: { lon, lat },
|
||||||
}).SetClass("w-full h-full"),
|
}).SetClass("w-full h-full"),
|
||||||
new SvelteUIElement(OpenBackgroundSelectorButton, { state }).SetClass(
|
new SvelteUIElement(OpenBackgroundSelectorButton, { state }).SetClass(
|
||||||
"absolute bottom-0 left-0"
|
"absolute bottom-0 left-0"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue