Merge pull request 'release: 2026-04-01.2 (3�� Ŀ��)' (#152) from develop into main
All checks were successful
Build and Deploy Wing-Demo / build-and-deploy (push) Successful in 35s

This commit is contained in:
jhkang 2026-04-01 09:03:08 +09:00
커밋 7a8e2ddea1
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@ -8,6 +8,7 @@
### 수정
- 지도: S57EncOverlay API URL을 공유 API_BASE_URL로 통합
- 지도: S57 ENC sprite URL에 상대경로일 때 origin 프리픽스 추가
## [2026-03-31]

파일 보기

@ -158,7 +158,10 @@ export function S57EncOverlay({ visible }: S57EncOverlayProps) {
// sprite 등록 (중복 방지)
if (!hasSprite(map, ENC_SPRITE_ID)) {
map.addSprite(ENC_SPRITE_ID, `${PROXY_PREFIX}/sprite/sprite`);
const spriteUrl = PROXY_PREFIX.startsWith('http')
? `${PROXY_PREFIX}/sprite/sprite`
: `${window.location.origin}${PROXY_PREFIX}/sprite/sprite`;
map.addSprite(ENC_SPRITE_ID, spriteUrl);
}
// sources 등록 (타일 URL을 프록시로 치환)