Delay background preload until map interaction stops

This commit is contained in:
2569718930@qq.com
2026-04-12 10:44:03 +08:00
parent 627bb8aa06
commit a0adf05d1e
3 changed files with 51 additions and 2 deletions
@@ -13,6 +13,7 @@ export function MapCanvas() {
citySummariesByName: store.citySummariesByName,
onClosePanel: store.closePanel,
onEnsureCityDetail: store.ensureCityDetail,
onMapInteractionChange: store.setMapInteractionActive,
onRegisterStopMotion: store.registerMapStopMotion,
onSelectCity: (cityName) => {
void store.selectCity(cityName);