PopupStylePoint

PointEntity 스타일 변경 팝업 클래스.
A pop-up class for changing the style of a PointEntity.

new Ditap.PopupStylePoint(pointEntity)

Name Type Description
pointEntity PointEntity 사용할 PopupStylePoint 인스턴스.
The instance of PopupStylePoint to change style.
Example:
const viewer = new Ditap.DitapViewer("ditapContainer");

const destination = Ditap.Cartesian3.fromDegrees(
  126.978275264, 37.566642192,
   400
);

// 카메라 이동
viewer.scene.camera.flyTo({
 destination: destination,
});

const modelMatrix1 = Ditap.Transforms.eastNorthUpToFixedFrame(
    Ditap.Cartesian3.fromDegrees(126.978275264, 37.566642192, 30),
  );

const cube4 = await Ditap.Model.fromGltfAsync({
  id: "cube4",
  url: "../../SampleData/models/Cube/cube444.glb",
  modelMatrix: modelMatrix1,
  scale: 3,
});

viewer.scene.primitives.add(cube4);


const popup = new Ditap.PopupStyleModel(cube4, viewer);

Extends

Members

readonly model : Cesium3Dmodel

스타일 수정 할 타일 피쳐.
Tile feature to modify the style.

readonly pointEntity : PointEntity

스타일 수정 할 포인트 엔티티.
Point entity to modify the style.

Methods

appendContent(element)

컨텐츠 영역에 요소 추가.
Append element to content.
Name Type Description
element Element 추가할 요소.
Element to add.
Inherited From:

appendFooter(element)

푸터 영역에 요소 추가.
Append element to footer.
Name Type Description
element Element 추가할 요소.
Element to add.
Inherited From:

appendHeader(element)

헤더 영역에 요소 추가.
Append element to header.
Name Type Description
element Element 추가할 요소.
Element to add.
Inherited From:

close()

팝업 닫기.
Close PopupStylePoint.

close()

팝업 닫기.
Close PopupStylePoint.

destroy()

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

destroy()

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

open(element)

팝업 열기.
Open popup.
Name Type Description
element Element 매개변수가 없는 경우 wrapper 오픈.
element If no parameter is entered, open wrapper.
Inherited From:

prependContent(element)

컨텐츠 영역 맨 앞에 요소 추가.
Prepend element to content.
Name Type Description
element Element 추가할 요소.
Element to add.
Inherited From:

prependFooter(element)

푸터 영역 맨 앞에 요소 추가.
Prepend element to footer.
Name Type Description
element Element 추가할 요소.
Element to add.
Inherited From:

prependHeader(element)

헤더 영역 맨 앞에 요소 추가.
Prepend element to header.
Name Type Description
element Element 추가할 요소.
Element to add.
Inherited From:

removeAllContent()

컨텐츠 영역의 모든 자식 요소 제거.
Remove all children of content.
Inherited From:

removeAllFooter()

푸터 영역의 모든 자식 요소 제거.
Remove all children of footer.
Inherited From:

removeAllHeader()

헤더 영역의 모든 자식 요소 제거.
Remove all children of header.
Inherited From:

removeContent(element)

컨텐츠 영역의 자식 요소 제거.
Remove children of content.
Name Type Description
element Element 제거할 요소.
Element to remove.
Inherited From:

removeFooter(element)

푸터 영역의 자식 요소 제거.
Remove children of footer.
Name Type Description
element Element 제거할 요소.
Element to remove.
Inherited From:

removeHeader(element)

헤더 영역의 자식 요소 제거.
Remove children of header.
Name Type Description
element Element 제거할 요소.
Element to remove.
Inherited From:

toggle(element)

팝업 활성화 on/off 기능.
Function on and off.
Name Type Description
element Element 매개변수가 없는 경우 wrapper 오픈.
If no parameter is entered, toggle wrapper.
Inherited From:
PointEntity 스타일 변경 팝업 클래스.
A pop-up class for changing the style of a PointEntity.

new Ditap.PopupStylePoint(pointEntity)

Name Type Description
pointEntity PointEntity 사용할 PopupStylePoint 인스턴스.
The instance of PopupStylePoint to change style.
Example:
const viewer = new Ditap.DitapViewer("ditapContainer");

const destination = Ditap.Cartesian3.fromDegrees(
  126.97743703843602,
  37.5666992934335,
   400
);

// 카메라 이동
viewer.scene.camera.flyTo({
 destination: destination,
});

// PointEntity 좌표
const position = new Ditap.Cartesian3.fromDegrees(
  126.97743703843602,
  37.5666992934335
);

// PointEntity 인스턴스 생성
const pointEntity = new Ditap.PointEntity(viewer, position);

const popup = new Ditap.PopupStylePoint(pointEntity);

Extends

Members

readonly model : Cesium3Dmodel

스타일 수정 할 타일 피쳐.
Tile feature to modify the style.

readonly pointEntity : PointEntity

스타일 수정 할 포인트 엔티티.
Point entity to modify the style.

Methods

appendContent(element)

컨텐츠 영역에 요소 추가.
Append element to content.
Name Type Description
element Element 추가할 요소.
Element to add.
Inherited From:

appendFooter(element)

푸터 영역에 요소 추가.
Append element to footer.
Name Type Description
element Element 추가할 요소.
Element to add.
Inherited From:

appendHeader(element)

헤더 영역에 요소 추가.
Append element to header.
Name Type Description
element Element 추가할 요소.
Element to add.
Inherited From:

close()

팝업 닫기.
Close PopupStylePoint.

close()

팝업 닫기.
Close PopupStylePoint.

destroy()

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

destroy()

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

open(element)

팝업 열기.
Open popup.
Name Type Description
element Element 매개변수가 없는 경우 wrapper 오픈.
element If no parameter is entered, open wrapper.
Inherited From:

prependContent(element)

컨텐츠 영역 맨 앞에 요소 추가.
Prepend element to content.
Name Type Description
element Element 추가할 요소.
Element to add.
Inherited From:

prependFooter(element)

푸터 영역 맨 앞에 요소 추가.
Prepend element to footer.
Name Type Description
element Element 추가할 요소.
Element to add.
Inherited From:

prependHeader(element)

헤더 영역 맨 앞에 요소 추가.
Prepend element to header.
Name Type Description
element Element 추가할 요소.
Element to add.
Inherited From:

removeAllContent()

컨텐츠 영역의 모든 자식 요소 제거.
Remove all children of content.
Inherited From:

removeAllFooter()

푸터 영역의 모든 자식 요소 제거.
Remove all children of footer.
Inherited From:

removeAllHeader()

헤더 영역의 모든 자식 요소 제거.
Remove all children of header.
Inherited From:

removeContent(element)

컨텐츠 영역의 자식 요소 제거.
Remove children of content.
Name Type Description
element Element 제거할 요소.
Element to remove.
Inherited From:

removeFooter(element)

푸터 영역의 자식 요소 제거.
Remove children of footer.
Name Type Description
element Element 제거할 요소.
Element to remove.
Inherited From:

removeHeader(element)

헤더 영역의 자식 요소 제거.
Remove children of header.
Name Type Description
element Element 제거할 요소.
Element to remove.
Inherited From:

toggle(element)

팝업 활성화 on/off 기능.
Function on and off.
Name Type Description
element Element 매개변수가 없는 경우 wrapper 오픈.
If no parameter is entered, toggle wrapper.
Inherited From: