fix: MapShapeUtil cleanup errors and schema validation
- Add isMountedRef to track component mount state - Fix map initialization cleanup with named event handlers - Add try/catch blocks for all MapLibre operations - Fix style change, resize, and annotations effects with mounted checks - Update callbacks (observeUser, selectSearchResult, findNearby) with null checks - Add legacy property support (interactive, showGPS, showSearch, showDirections, sharingLocation, gpsUsers) - Prevents 'getLayer' and 'map' undefined errors during component unmount - Complete Mapus-style UI with sidebar, search, find nearby, annotations, and drawing tools 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
23c1705d97
commit
8d4562848a