Merge pull request 'release: Phase 4~6 통합 릴리즈 (Mock→API + MapLibre 전환)' (#50) from develop into main
All checks were successful
Build and Deploy Wing-Demo / build-and-deploy (push) Successful in 32s
All checks were successful
Build and Deploy Wing-Demo / build-and-deploy (push) Successful in 32s
Reviewed-on: #50
This commit is contained in:
커밋
a18aa1b493
@ -5,7 +5,7 @@ import { PathLayer, ScatterplotLayer } from '@deck.gl/layers'
|
||||
import type { StyleSpecification } from 'maplibre-gl'
|
||||
import 'maplibre-gl/dist/maplibre-gl.css'
|
||||
import type { ScatSegment } from './scatTypes'
|
||||
import { esiColor, jejuCoastCoords, scatDetailData } from './scatConstants'
|
||||
import { esiColor, jejuCoastCoords } from './scatConstants'
|
||||
import { hexToRgba } from '@common/components/map/mapUtils'
|
||||
|
||||
const BASE_STYLE: StyleSpecification = {
|
||||
@ -102,7 +102,7 @@ function ScatMap({ segments, selectedSeg, onSelectSeg, onOpenPopup }: ScatMapPro
|
||||
const handleClick = useCallback(
|
||||
(seg: ScatSegment) => {
|
||||
onSelectSeg(seg)
|
||||
onOpenPopup(seg.id % scatDetailData.length)
|
||||
onOpenPopup(seg.id)
|
||||
},
|
||||
[onSelectSeg, onOpenPopup],
|
||||
)
|
||||
|
||||
@ -11,4 +11,11 @@ export default defineConfig({
|
||||
'@tabs': path.resolve(__dirname, 'src/tabs'),
|
||||
},
|
||||
},
|
||||
build: {
|
||||
rollupOptions: {
|
||||
// deck.gl → @loaders.gl/worker-utils가 Node.js child_process를 참조하나
|
||||
// 브라우저에서는 해당 코드 경로를 타지 않으므로 undefined shim 허용
|
||||
shimMissingExports: true,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
불러오는 중...
Reference in New Issue
Block a user