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?.(); }); /**