|
|
4c7bd42b42
|
refactor: 관심구역, 측정, 미니맵 MapLibre 전환 + OpenLayers 제거 (Session E, F, H)
- Session E: 관심구역 폴리곤 + 추적 반경원 MapLibre GeoJSON 레이어로 전환
- useRealmLayer: OL VectorLayer → MapLibre fill/line layer
- useTrackingMode: 반경 원 @turf/circle → GeoJSON source
- Session F: 측정 도구 MapLibre 커스텀 구현
- useMeasure: OL Draw/Overlay → MapLibre Marker + GeoJSON layer
- 거리/면적: @turf/distance, @turf/length, @turf/area
- 툴 믹싱 지원, 세션 persistence
- Session H: 미니맵 MapLibre 전환 + OpenLayers 완전 제거
- VesselDetailModal/StsContactDetailModal: OL 임베디드 맵 → MapLibre 7개 레이어
- mapStore: map 타입 any → maplibregl.Map | null
- csvDownload: OL Polygon → Turf.js booleanPointInPolygon
- package.json: ol, ol-ext 제거 (~500KB 감소)
- main.tsx: OL CSS 제거
- 6개 OL 파일 @ts-nocheck 추가 (Session G 패스)
검증: yarn type-check, yarn lint, yarn build 통과
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-02-15 17:28:24 +09:00 |
|
|
|
6e3ad9e0d8
|
chore: JavaScript → TypeScript 전환 완료 (77개 파일)
JS/JSX 77개 파일을 TS/TSX로 전환하고 JS 원본을 삭제.
- stores 7개, map core 6개, hooks 4개 등 전체 모듈 전환
- TypeScript strict 모드, OL/Deck.gl 타입 적용
- .gitignore에서 TS/TSX 무시 규칙 제거
- pre-commit hook: .js,.jsx → .ts,.tsx 확장자 변경
- tsc --noEmit 0 에러, ESLint 0 에러, yarn build 성공
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-15 10:28:27 +09:00 |
|