fix(map): 수심 레이블이 한글 변환에 의해 덮어쓰이는 버그 수정
applyKoreanLabels를 injectOceanBathymetryLayers보다 먼저 호출하여 수심 text-field가 보존되도록 순서 변경 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
부모
289f1bebc0
커밋
4c257a2883
@ -295,8 +295,8 @@ export async function resolveInitialMapStyle(signal: AbortSignal): Promise<strin
|
||||
const res = await fetch(styleUrl, { signal, headers: { accept: 'application/json' } });
|
||||
if (!res.ok) throw new Error(`MapTiler style fetch failed: ${res.status} ${res.statusText}`);
|
||||
const json = (await res.json()) as StyleSpecification;
|
||||
injectOceanBathymetryLayers(json, key);
|
||||
applyKoreanLabels(json);
|
||||
injectOceanBathymetryLayers(json, key);
|
||||
return json;
|
||||
}
|
||||
|
||||
|
||||
불러오는 중...
Reference in New Issue
Block a user