fix: edit bouquet photos in-place with recipe sync and area masks
* fix: edit bouquet photos in-place with recipe sync and area masks * fix: silence MapPanel state_referenced_locally warning
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<script>
|
||||
import { onMount } from 'svelte';
|
||||
import FloristOrderMessage from './FloristOrderMessage.svelte';
|
||||
import KakaoMap from './KakaoMap.svelte';
|
||||
import ShopList from './ShopList.svelte';
|
||||
@@ -19,10 +20,15 @@
|
||||
onrefresh
|
||||
} = $props();
|
||||
|
||||
let mapCenterLat = $state(initialLat);
|
||||
let mapCenterLng = $state(initialLng);
|
||||
let mapCenterLat = $state(DEFAULT_MAP_CENTER.lat);
|
||||
let mapCenterLng = $state(DEFAULT_MAP_CENTER.lng);
|
||||
let panTarget = $state(null);
|
||||
|
||||
onMount(() => {
|
||||
mapCenterLat = initialLat;
|
||||
mapCenterLng = initialLng;
|
||||
});
|
||||
|
||||
function handleCenterChange(lat, lng) {
|
||||
mapCenterLat = lat;
|
||||
mapCenterLng = lng;
|
||||
|
||||
Reference in New Issue
Block a user