DitapPrintButton

지도화면을 출력하는 위젯 클래스.
A widget that prints the map screen, including the UI layout.

new Ditap.DitapPrintButton(viewer)

Name Type Description
viewer DitapViewer 사용할 DitapViewer 인스턴스
The DitapViewer instance to use.
Example:
// 샌드캐슬 예제 'DiTAP - Ditap Capture' 참조

// 1. 뷰어 선언 시 활성화
const viewer = new Ditap.DitapViewer("ditapContainer", {
print: true});

// 2. 단독으로 선언하여 활성화
const viewer = new Ditap.DitapViewer("ditapContainer");
const ditapPrint = new Ditap.DitapPrintButton(viewer);

Members

viewer : DitapViewer

뷰어 인스턴스 설정.
Sets the viewer instance.

Methods

destroy()

위젯 파괴. 영구적으로 제거하는 경우 호출.
Destroys the widget. Should be called if permanently removing the widget from layout.

isDestroyed()

위젯 파괴 여부 반환.
Returns the presence or absence of widget destroy.