PopupDrawingHandler

그리기 핸들러 팝업 클래스.
Drawing handler popup class.

new Ditap.PopupDrawingHandler(viewer, options)

Name Type Description
viewer DitapViewer 사용할 Ditap Viewer 인스턴스.
The DitapViewer instance to use.
options PopupDrawingHandler.ConstructorOptions optional 초기화 옵션을 설명하는 객체.
An object describing initialization options.

Members

cancelCallback : function

취소 클릭 콜백 함수.
Cancel click callback function.

endCallback : function

완료 클릭 콜백 함수.
Done click callback function.

removeCallback : function

한 점 제거 클릭 콜백 함수.
Remove one point click callback function.

show : boolean

팝업 가시화 여부.
Whether pop-up is visible.

Methods

close()

팝업 닫기.
Close popup.

destroy()

인스턴스 제거.
Remove instance.

open()

팝업 열기.
Open popup.

Type Definitions

Ditap.PopupDrawingHandler.ConstructorOptions

PopupDrawingHandler 생성자의 초기화 옵션.
Initialization options for the PopupDrawingHandler constructor.
Properties:
Name Type Attributes Default Description
show boolean <optional>
true 팝업 가시화 여부.
Whether pop-up is visible.
endCallback function <optional>
완료 클릭 콜백 함수.
Done click callback function.
removeCallback function <optional>
한 점 제거 클릭 콜백 함수.
Remove one point click callback function.
cancelCallback function <optional>
취소 클릭 콜백 함수.
Cancel click callback function.