File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 1- // NAVER Maps JavaScript API Version: 3.7
1+ // NAVER Maps JavaScript API Version: 3.8
22
33/// <reference types="geojson" />
44
@@ -331,6 +331,18 @@ declare namespace naver.maps {
331331 * 빈 타일 이미지 URL을 설정할 수 있는 옵션입니다.
332332 */
333333 blankTileImage ?: null | string ;
334+ /**
335+ * An option to enable the GL submodule vector map. This option is applied only in the GL submodule.
336+ *
337+ * GL 서브 모듈 벡터맵을 활성화할 수 있는 옵션입니다. GL 서브 모듈을 반드시 로드해야 옵션이 적용됩니다.
338+ */
339+ gl ?: boolean ;
340+ /**
341+ * An option to set the My Style ID issued by the Style Editor. This option is applied only in the GL submodule.
342+ *
343+ * Style Editor에서 발행한 My Style ID입니다. GL 서브 모듈에서만 적용됩니다.
344+ */
345+ customStyleId ?: string
334346 }
335347
336348 /**
@@ -1281,6 +1293,7 @@ declare namespace naver.maps {
12811293 setZoom ( zoom : number , effect ?: boolean ) : void ;
12821294 updateBy ( coord : Coord | CoordLiteral , zoom : number ) : void ;
12831295 zoomBy ( deltaZoom : number , zoomOrigin ?: Coord | CoordLiteral , effect ?: boolean ) : void ;
1296+ stop ( ) : void ;
12841297 }
12851298
12861299 /**
Original file line number Diff line number Diff line change @@ -18,6 +18,16 @@ let map = new naver.maps.Map("map", {
1818 mapTypeId : "normal" , // or naver.maps.MapTypeId.NORMAL
1919} ) ;
2020
21+ /**
22+ * GL Submodules
23+ */
24+ let glMap = new naver . maps . Map ( "map" , {
25+ center : new naver . maps . LatLng ( 37.3595704 , 127.105399 ) ,
26+ zoom : 13 ,
27+ gl : true ,
28+ customStyleId : '94230366-adba-4e0e-ac5a-e82a0e137b5e'
29+ } ) ;
30+
2131/**
2232 * Change any combination of center, zoom and padding with an animated transition
2333 * See https://navermaps.github.io/maps.js.ncp/docs/tutorial-2-map-options.example.html
@@ -39,6 +49,7 @@ map.fitBounds(dokdo);
3949map . panTo ( jeju ) ;
4050map . panToBounds ( seoul ) ;
4151map . panBy ( new naver . maps . Point ( 10 , 10 ) ) ;
52+ map . stop ( ) ;
4253
4354/**
4455 * Event Basic Example
You can’t perform that action at this time.
0 commit comments