fix(map): Globe 렌더링 안정화 및 툴팁 유지 개선 #29
불러오는 중...
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/globe-rendering-optimization"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
setData()중isStyleLoaded()가 일시적으로 false를 반환하여 렌더링이 차단되던 문제를 해결합니다buildTooltipRef패턴으로 해결합니다Changes
isStyleLoaded() 가드 → try/catch 패턴
useGlobeShipLayers,useGlobeShipHover,useGlobePairOverlay,useGlobeFcFleetOverlay,useZonesLayer,useNativeMapLayers등 다수 hook에서isStyleLoaded()선행 가드를 제거Globe 툴팁 안정화
buildGlobeFeatureTooltip을 useRef로 관리 (buildTooltipRef) → effect 의존성에서 제거clearGlobeTooltip()제거 → unmount-only cleanup으로 분리선박 선택 fly-to 개선
mapInitiatedSelectRef도입: 지도 클릭 선택 vs 패널 선택 구분shipData를 ref로 관리하여 AIS poll마다 effect 재실행 방지기타
isStyleLoaded()가드 제거onMapStyleReady에서 불필요한idle이벤트 구독 제거Test Plan
🤖 Generated with Claude Code