Compare commits
No commits in common. "7a8e2ddea1367fab1d75b90b9c937814d46c63df" and "625b15e395f82cbe1c4b6d1d399c958dfabe490a" have entirely different histories.
7a8e2ddea1
...
625b15e395
@ -8,7 +8,6 @@
|
|||||||
|
|
||||||
### 수정
|
### 수정
|
||||||
- 지도: S57EncOverlay API URL을 공유 API_BASE_URL로 통합
|
- 지도: S57EncOverlay API URL을 공유 API_BASE_URL로 통합
|
||||||
- 지도: S57 ENC sprite URL에 상대경로일 때 origin 프리픽스 추가
|
|
||||||
|
|
||||||
## [2026-03-31]
|
## [2026-03-31]
|
||||||
|
|
||||||
|
|||||||
@ -158,10 +158,7 @@ export function S57EncOverlay({ visible }: S57EncOverlayProps) {
|
|||||||
|
|
||||||
// sprite 등록 (중복 방지)
|
// sprite 등록 (중복 방지)
|
||||||
if (!hasSprite(map, ENC_SPRITE_ID)) {
|
if (!hasSprite(map, ENC_SPRITE_ID)) {
|
||||||
const spriteUrl = PROXY_PREFIX.startsWith('http')
|
map.addSprite(ENC_SPRITE_ID, `${PROXY_PREFIX}/sprite/sprite`);
|
||||||
? `${PROXY_PREFIX}/sprite/sprite`
|
|
||||||
: `${window.location.origin}${PROXY_PREFIX}/sprite/sprite`;
|
|
||||||
map.addSprite(ENC_SPRITE_ID, spriteUrl);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// sources 등록 (타일 URL을 프록시로 치환)
|
// sources 등록 (타일 URL을 프록시로 치환)
|
||||||
|
|||||||
불러오는 중...
Reference in New Issue
Block a user