| Name | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
analysisExcavation |
AnalysisExcavation |
굴착 및 분석 클래스. Excavation and Analysis Class. |
||||||||
options |
object |
optional
다음 속성을 가진 객체. Object with the following properties:
|
||||||||
ditapPaneManager |
DitapPaneManager |
optional
현재 사용하지 않음 (팝업 위치 고정). Currently unused (the popup position is fixed). |
Example:
const getUrlFromBase64 = (base64Data) => {
const b64Data = base64Data;
const byteCharacters = window.atob(b64Data);
const byteNumbers = new Array(byteCharacters.length);
for (let i = 0; i < byteCharacters.length; i++) {
byteNumbers[i] = byteCharacters.charCodeAt(i);
}
const byteArray = new Uint8Array(byteNumbers);
const blob = new Blob([byteArray], { type: "image/png" });
return URL.createObjectURL(blob);
};
const viewer = new Ditap.DitapViewer("ditapContainer", {
baseLayerPicker: true,
// 지형(터레인 지정)
terrainProviderViewModels: [
new Ditap.ProviderViewModel({
name: "Ditap Korea Terrain",
iconUrl: getUrlFromBase64(
Ditap.ConstantUrl.DITAP_TERRAIN_IMG_URL
),
tooltip: "WGS84 standard ellipsoid, also known as EPSG:4326",
category: "Ditap",
creationFunction: function () {
return Ditap.NationwideTerrainProvider.create();
},
}),
],
});
// AnalysisExcavation 생성
const analysisExcavation = new Ditap.AnalysisExcavation(viewer);
// PopupAnalysisExcavation 생성 및 팝업창 오픈
const popupAnalysisExcavation = new Ditap.PopupAnalysisExcavation(analysisExcavation);
popupAnalysisExcavation.open();
Extends
Members
analysisExcavation : AnalysisExcavation
지형 굴착 및 분석 클래스.
Terrain Excavation and Analysis Class.
Terrain Excavation and Analysis Class.
모바일 해상도에서 띄울 수 있는 팝업인지 여부. 하위 클래스에서 재정의합니다.
Whether the popup can be opened on mobile resolutions. Overridden by subclasses.
- Inherited From:
로딩창 생성 여부.
Whether to create a loading window.
Whether to create a loading window.
Methods
컨텐츠 영역에 요소 추가.
Append element to content.
Append element to content.
| Name | Type | Description |
|---|---|---|
element |
Element |
추가할 요소. Element to add. |
- Inherited From:
푸터 영역에 요소 추가.
Append element to footer.
Append element to footer.
| Name | Type | Description |
|---|---|---|
element |
Element | 추가할 요소. Element to add. |
- Inherited From:
헤더 영역에 요소 추가.
Append element to header.
| Name | Type | Description |
|---|---|---|
element |
Element |
추가할 요소. Element to add. |
- Inherited From:
팝업 닫기.
Close popup.
| Name | Type | Default | Description |
|---|---|---|---|
reset |
* |
false
|
optional
true이면 팝업을 닫을 때 굴착 객체를 초기화. If true, resets the excavation object when closing the popup. |
인스턴스 제거.
Remove instance.
Remove instance.
팝업의 분석 클래스 초기화.
Initialize the popup's analysis class.
Initialize the popup's analysis class.
팝업 열기.
Open popup.
| Name | Type | Description |
|---|---|---|
element |
Element | 매개변수가 없는 경우 wrapper 오픈. element If no parameter is entered, open wrapper. |
- Inherited From:
컨텐츠 영역 맨 앞에 요소 추가.
Prepend element to content.
| Name | Type | Description |
|---|---|---|
element |
Element |
추가할 요소. Element to add. |
- Inherited From:
푸터 영역 맨 앞에 요소 추가.
Prepend element to footer.
| Name | Type | Description |
|---|---|---|
element |
Element | 추가할 요소. Element to add. |
- Inherited From:
헤더 영역 맨 앞에 요소 추가.
Prepend element to header.
Prepend element to header.
| Name | Type | Description |
|---|---|---|
element |
Element |
추가할 요소. Element to add. |
- Inherited From:
컨텐츠 영역의 모든 자식 요소 제거.
Remove all children of content.
- Inherited From:
푸터 영역의 모든 자식 요소 제거.
Remove all children of footer.
- Inherited From:
헤더 영역의 모든 자식 요소 제거.
Remove all children of header.
Remove all children of header.
- Inherited From:
컨텐츠 영역의 자식 요소 제거.
Remove children of content.
| Name | Type | Description |
|---|---|---|
element |
Element |
제거할 요소. Element to remove. |
- Inherited From:
푸터 영역의 자식 요소 제거.
Remove children of footer.
| Name | Type | Description |
|---|---|---|
element |
Element | 제거할 요소. Element to remove. |
- Inherited From:
헤더 영역의 자식 요소 제거.
Remove children of header.
| Name | Type | Description |
|---|---|---|
element |
Element |
제거할 요소. Element to remove. |
- Inherited From:
팝업 초기화.
Popup reset.
Popup reset.
평균높이 표기값 설정.
Setting the average height display value.
Setting the average height display value.
| Name | Type | Description |
|---|---|---|
height |
number |
설정값. Setting value. |
절토량 표기값 설정.
Setting the cut amount display value.
Setting the cut amount display value.
| Name | Type | Description |
|---|---|---|
volume |
number |
설정값. Setting value. |
성토량 표기값 설정.
Description of fill amount notation value.
Description of fill amount notation value.
| Name | Type | Description |
|---|---|---|
volume |
number |
설정값. Setting value. |
최대높이 표기값 설정.
Setting the maximum height notation value.
Setting the maximum height notation value.
| Name | Type | Description |
|---|---|---|
height |
number |
설정값. Setting value. |
최소높이 표기값 설정.
Set minimum height notation value.
Set minimum height notation value.
| Name | Type | Description |
|---|---|---|
height |
number |
설정값. Setting value. |
기준 밑면 선택값 설정.
Set base base selection value.
Set base base selection value.
| Name | Type | Default | Description |
|---|---|---|---|
type |
'average' | 'min' | 'max' | 'user' |
'average'
|
optional
설정값. Setting value. |
지정고도 표기값 설정.
Plan height notation value setting.
Plan height notation value setting.
| Name | Type | Description |
|---|---|---|
value |
number |
설정값. Setting value. |
지형 굴착 스위치 표기값 설정.
Terrain excavation switch display value setting
Terrain excavation switch display value setting
| Name | Type | Description |
|---|---|---|
show |
boolean |
설정값. Setting value. |
레이어 스위치 표기값 설정.
Layer switch notation value setting.
Layer switch notation value setting.
| Name | Type | Description |
|---|---|---|
show |
boolean |
설정값. Setting value. |
모델 스위치 표기값 설정.
Model switch notation value setting.
Model switch notation value setting.
| Name | Type | Description |
|---|---|---|
show |
boolean |
설정값. Setting value. |
총합값 표기값 설정.
Total value display value setting.
Total value display value setting.
| Name | Type | Description |
|---|---|---|
volume |
number |
설정값. Setting value. |
팝업 활성화 on/off 기능.
Function on and off.
| Name | Type | Description |
|---|---|---|
element |
Element | 매개변수가 없는 경우 wrapper 오픈.If no parameter is entered, toggle wrapper. |
- Inherited From:
