| Name | Type | Description |
|---|---|---|
viewer |
DitapViewer | 사용할 Ditap Viewer 인스턴스. The DitapViewer instance to use. |
options |
PointDrawingHandler.ConstructorOptions |
optional
초기화 옵션을 설명하는 객체. An object describing initialization options. |
Members
포인트 추가 콜백 함수.
Point addition callback function.
Point addition callback function.
취소 콜백 함수.
Cancellation callback function.
Cancellation callback function.
핸들러 비/활성화 상태.
Handler enabled or disabled.
핸들러 종료 콜백 함수.
Handler termination callback function.
Handler termination callback function.
핸들러 실행 콜백 함수.
Handler execution callback function.
Handler execution callback function.
readonly position : Cartesian3
추가된 좌표.
Added coordinate
Added coordinate
인포라벨 표시 여부.
Whether to display info labels.
Whether to display info labels.
readonly viewer : DitapViewer
사용할 Ditap Viewer 인스턴스.
The DitapViewer instance to use.
Type Definitions
PointDrawingHandler 생성자의 초기화 옵션.
Initialization options for the PointDrawingHandler constructor.
Initialization options for the PointDrawingHandler constructor.
Properties:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
showInfoLabel |
boolean |
<optional> |
true | 인포라벨 표시 여부. Whether to display info labels. |
onCallback |
function |
<optional> |
핸들러 실행 콜백 함수. Handler execution callback function. |
|
addCallback |
function |
<optional> |
포인트 추가 콜백 함수. Point addition callback function. |
|
cancelCallback |
function |
<optional> |
핸들러 취소 콜백 함수. Handler cancellation callback function. |
|
offCallback |
function |
<optional> |
핸들러 종료 콜백 함수. Handler termination callback function. |
