From 2266eb2a0857dabc525d50a13801a0473d7a7338 Mon Sep 17 00:00:00 2001 From: Seokcheol Jeong <42694076+kkokkojeong@users.noreply.github.com> Date: Fri, 15 May 2026 11:10:18 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#75003=20[navermaps?= =?UTF-8?q?]=20Mark=20GL-only=20methods=20as=20optional=20on=20StreetLayer?= =?UTF-8?q?=20by=20@kkokkojeong?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Claude Opus 4.7 (1M context) --- types/navermaps/index.d.ts | 4 ++++ types/navermaps/navermaps-tests.ts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/types/navermaps/index.d.ts b/types/navermaps/index.d.ts index eb81d79a257597..b34c979827080f 100644 --- a/types/navermaps/index.d.ts +++ b/types/navermaps/index.d.ts @@ -1532,6 +1532,10 @@ declare namespace naver.maps { */ class StreetLayer extends LabelLayer { constructor(option?: StreetLayerOptions); + // Only available in the Maps GL submodule. + setAirWaterView?(visible: boolean): void; + // Only available in the Maps GL submodule. + isVisibleAirWaterView?(): boolean; } /** diff --git a/types/navermaps/navermaps-tests.ts b/types/navermaps/navermaps-tests.ts index 3a45a9609c4630..3d06df187a091b 100644 --- a/types/navermaps/navermaps-tests.ts +++ b/types/navermaps/navermaps-tests.ts @@ -68,6 +68,10 @@ const cadastral = new naver.maps.CadastralLayer(); naver.maps.Event.once(map, "init", function() { street.setMap(map); cadastral.setMap(map); + + // Optional methods + street.setAirWaterView?.(false); + street.isVisibleAirWaterView?.(); }); /**