PopupAnalysisLimitationAltitude

고도제한 분석 팝업 클래스.
Altitude analysis popup class.

new Ditap.PopupAnalysisLimitationAltitude(viewer, options)

Name Type Description
viewer DitapViewer 뷰어 인스턴스.
DitapViewer instance.
options Object 고도제한 분석 팝업 옵션.
Limitation altitude analysis popup options.
Name Type Description
latitude string 피처에 입력된 위도 속성명 (필수).
Latitude property name of the feature (required).
longitude string 피처에 입력된 경도 속성명 (필수).
Longitude property name of the feature (required).
absoluteAltitude string 피처에 입력된 건물 절대고도 속성명 (absoluteAltitude 또는 buildingHeight 중 하나 필수).
Absolute altitude property name of the feature (one of absoluteAltitude or buildingHeight is required).
buildingHeight string 피처에 입력된 건물 높이 속성명 (absoluteAltitude 또는 buildingHeight 중 하나 필수).
Building height property name of the feature (one of absoluteAltitude or buildingHeight is required).
Example:
// 샌드캐슬 예제 'DiTAP - Limitation Altitude' 참조

const viewer = new Ditap.DitapViewer("ditapContainer");

// osm 건물 추가
const osmBuildingsTileset = await Ditap.createOsmBuildingsAsync();
viewer.scene.primitives.add(osmBuildingsTileset);

const options = {
   latitude: "LATITUDE", // 피처에 입력된 위도 속성명 (필수)
   longitude: "LONGITUDE", // 피처에 입력된 경도 속성명 (필수)
   absoluteAltitude: "ABSOLUTEALTITUDE", // 피처에 입력된 건물 절대고도 속성명 (absoluteAltitude 또는 buildingHeight 중 하나 필수)
   buildingHeight: "ESTIMATEDHEIGHT", // 피처에 입력된 건물 높이 속성명 (absoluteAltitude 또는 buildingHeight 중 하나 필수)
};

// PopupAnalysisLimitationAltitude 인스턴스 생성
const popup = new Ditap.PopupAnalysisLimitationAltitude(viewer, options);

// PopupAnalysisLimitationAltitude 팝업 실행
popup.open();

Members

analysisLimitationAltitude

고도제한 분석 인스턴스 설정.
Set the altitude limitation analysis instance.

interactionLimitationAltitude

고도제한 분석 인터렉션 인스턴스 설정.
Set the altitude limitation analysis interaction instance.

Methods

close()

팝업 닫기.
Close the popup.

open()

팝업 열기.
Open the popup.