ship-gis/package.json
htlee 96ee263b1e refactor: OpenLayers → MapLibre GL JS 코어 전환 (Session C)
메인 지도 엔진을 OpenLayers에서 MapLibre GL JS 5.18.0으로 전환.
Deck.gl 통합을 수동 캔버스 오버레이에서 @deck.gl/mapbox MapboxOverlay로 단순화.

주요 변경:
- maplibregl.Map + MapboxOverlay(자동 뷰 동기화) 기반 재구성
- OL EPSG:3857 좌표 변환 → MapLibre LngLat(4326) 직접 사용
- 줌 규약: mapStore.zoom = OL 규약 유지 (MapLibre zoom + 1)
- OL 전용 코드에 MapLibre 가드 패턴 적용 (getCanvas 체크)
- 커서 관리: default → pointer(호버) → grabbing(드래그)

신규: projection.ts | 재작성: baseLayer, useShipLayer, MapContainer, useTrackingMode
패치: mapStore, shipLayer, TopBar, useShipSearch, useRealmLayer, useMeasure,
      useZoneDraw, useZoneEdit, ReplayWebSocketService, TrackQueryViewer 외

미동작(후속 세션): 측정(F), 관심구역(E), 반경원(E), 구역편집(G), 미니맵(H)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 12:49:08 +09:00

54 lines
1.5 KiB
JSON

{
"name": "dark",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite --port 3000",
"build": "tsc -b && vite build",
"build:dev": "tsc -b && vite build --mode dev",
"build:qa": "tsc -b && vite build --mode qa",
"build:prod": "tsc -b && vite build",
"preview": "vite preview --port 3000",
"preview:dev": "vite preview --mode dev --port 3000",
"preview:qa": "vite preview --mode qa --port 3000",
"type-check": "tsc -b --noEmit",
"lint": "eslint src"
},
"dependencies": {
"@deck.gl/core": "^9.2.6",
"@deck.gl/extensions": "^9.2.6",
"@deck.gl/geo-layers": "^9.2.6",
"@deck.gl/layers": "^9.2.6",
"@deck.gl/mapbox": "^9.2.7",
"@deck.gl/mesh-layers": "^9.2.6",
"@stomp/stompjs": "^7.2.1",
"@turf/turf": "^7.3.4",
"axios": "^1.4.0",
"dayjs": "^1.11.11",
"html2canvas": "^1.4.1",
"maplibre-gl": "^5.18.0",
"ol": "^9.2.4",
"ol-ext": "^4.0.10",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-router-dom": "^6.30.3",
"zustand": "^5"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/node": "^22.10.5",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.4",
"eslint": "^9.39.2",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.2.0",
"sass": "^1.97.3",
"typescript": "~5.7.2",
"typescript-eslint": "^8.55.0",
"vite": "^7.3.1"
}
}