new naver.maps.LabelLayer(name, registry, option)
Parameters
| Name | Type | Description |
|---|---|---|
name |
string | 레이어의 이름 |
registry |
naver.maps.ImageMapType | 이미지 지도 유형 |
option |
object |
|
Extends
Methods
-
getLayerType()
-
레이어의 지도 유형을 반환합니다.
- Inherited From
Fires
Returns
Type Description naver.maps.MapType레이어의 지도 유형
-
getLayerTypeId()
-
레이어의 지도 유형
id를 반환합니다.- Inherited From
Returns
Type Description string레이어의 지도 유형
id -
getMap()
-
현재 레이어가 추가된 지도 객체를 반환합니다.
- Inherited From
Returns
Type Description naver.maps.Map | null지도 객체
-
getOpacity()
-
레이어 타일의 불투명도를 반환합니다.
불투명도값의 범위는0~1이며, 기본값은 1입니다.- Inherited From
Returns
Type Description number0~1사이의 실수. -
getPaneElement()
-
레이어의 지도 타일이 렌더링된 창(pane)의 HTML 요소를 반환합니다.
- Inherited From
Returns
Type Description HTMLElement레이어 HTML 요소
-
refresh(noEffect)
-
레이어를 새로 고칩니다.
Parameters
Name Type Argument Description noEffectboolean <optional>
효과 적용 여부
- Inherited From
-
setLayerTypeId(typeId)
-
레이어의 지도 유형을 설정합니다.
반드시 MapTypeRegistry 객체에 등록된 지도 유형
id를 사용합니다.Parameters
Name Type Description typeIdstring 지도 유형
id- Inherited From
Fires
-
setMap(map)
-
레이어를 지도에 추가합니다. 인수로 null을 전달하면 레이어를 지도에서 제거합니다.
Parameters
Name Type Description mapnaver.maps.Map | null 지도 객체
- Inherited From
-
setOpacity(opacity)
-
레이어 타일의 불투명도를 설정합니다.
불투명도값의 범위는0~1이며, 기본값은 1입니다.Parameters
Name Type Description opacitynumber 불투명도.
0~1사이의 실수.- Inherited From