📋
XDWorld_WebGL_Manual
  • 소개
    • XDWorld API
    • 시작하기
    • About EGIS
    • Release Note
      • 2.1x 버전 업데이트
      • 2.x 버전 업데이트
      • 1.6x 버전 업데이트
      • 1.5x 버전 업데이트
      • 1.4x 버전 업데이트
      • 1.3x 버전 업데이트
      • 이전 버전 업데이트
    • Tutorial
      • 카메라 설정
      • POI 생성하기
      • 폴리곤 생성하기
      • 라인 생성하기
      • 모델 추가하기
      • 레이어 설정
      • 배경 지도 설정
      • 거리 측정
      • 면적 측정
      • 높이 측정
      • 반경 측정
  • API
    • Module
    • Core
      • Collection
      • JSAABBox3D
      • JSColor
      • JSLine3D
      • JSSize2D
      • JSSize3D
      • JSVector2D
      • JSVector3D
      • JSVec2Array
      • JSVec3Array
      • JSDateTime
    • Analysis
      • JSAnalysis
      • JSAnalysisGridShadow
      • JSEarthquake
      • JSEditTerrain
      • JSFlood
      • JSGridAnal
      • JSSightAnalysis
      • JSSlope
      • JSTransparency
      • JSSolarManager
    • Camera
      • JSCamera
    • Layer
      • JSLayer
      • JSLayerList
      • JSImageryProvider
    • Map
      • JSMap
      • JSTerrain
      • JSIndexMap
    • Object
      • JSObject
      • JSAntenna
      • JSArrow
      • JSBarGraph
      • JSBarGraph3D
      • JSBillboard
      • JSColorGrid
      • JSColorGrid3D
      • JSColorPolygon
      • JSFigure
      • JSFlow
      • JSFlowPolygon
      • JSGhostSymbol
      • JSGhostSymbolMap
      • JSHTMLObject
      • JSIcon
      • JSInstanceObject
      • JSLineString
      • JSMultiCube
      • JSMultiPoint
      • JSPipe
      • JSPoint
      • JSPointGraph
      • JSPolygon
      • JSPolygonStyle
      • JSPolyLineStyle
      • JSReal3D
      • JSSurfaceGraph
      • JSSymbol
      • JSTimeSeriesObject
      • JSTraceTarget
      • JSTyphoon
      • JSVideoObject
      • JSViewFrustum
    • Option
      • JSControl
      • JSNavigationControl
      • JSOption
    • ETC
      • JSMath
      • JSProj
      • ~~JSProjection~~
      • SOPObject
      • EVENT
      • Type List
      • Tag List
Powered by GitBook
On this page
  • Function
  • create(position, size) → boolean
  • getId() → string
  • insertData(x, y, z, value) → boolean
  • insertLegend(value, color) → boolean
  • setAxisRange(axis, min, max, interval) → boolean
  • setPointLineVisible(type) → boolean
  • Getter / Setter
  • getDescription(), setDescription(desc) → string
  • getName(), setName(name) → string
  • getVisible(), setVisible(visible) → boolean

Was this helpful?

  1. API
  2. Object

JSPointGraph

지도 내 포인트 그래프 객체를 생성 및 설정하기 위한 API 입니다.

PreviousJSPointNextJSPolygon

Last updated 11 months ago

Was this helpful?

Module.createPointGraph() API를 생성합니다.

var object = Module.createPointGraph("ID");

Function

create(position, size) → boolean

포인트 그래프 객체를 생성하니다.

Name
Type
Description

position

중심 좌표(경도, 위도, 고도).

size

그래프 크기.

  • Return

    • true: 생성 성공.

    • false: 생성 실패.

  • Sample

    • the createGraph function 참조.

getId() → string

객체의 고유 명칭을 반환 합니다.

  • Return

    • string: 객체 설명 문자열이 성공적으로 반환.

    • null: 객체가 null인 경우.

var strKey = object.getId();

insertData(x, y, z, value) → boolean

포인트 그래프를 구성하는 데이터를 추가합니다.

Name
Type
Description

x

number

x축 위치.

y

number

y축 위치.

z

number

z축 위치.

value

number

데이터 값.

  • Return

    • true: 추가 성공.

    • false: 추가 실패.

  • Sample

    • the createGraph function 참조.

insertLegend(value, color) → boolean

포인트 그래프를 구성하는 범례를 추가합니다.

Name
Type
Description

value

number

범례 값.

color

범례 색상.

  • Return

    • true: 추가 성공.

    • false: 추가 실패.

  • Sample

    • the createGraph function 참조.

setAxisRange(axis, min, max, interval) → boolean

포인트 그래프를 구성하는 각 축의 범위 및 눈금, 간격 가시화를 설정합니다.

Name
Type
Description

axis

number

축 타입(0 : X축, 1 : Y축, 2 : Z축).

min

number

축 최소 값.

max

number

축 최대 값.

interval

number

그래프 눈금 표시 간격.

  • Return

    • true: 설정 성공.

    • false: 설정 실패.

  • Sample

    • the createGraph function 참조.

setPointLineVisible(type) → boolean

포인트 그래프와 지형을 연결하는 직선 객체를 생성합니다.

Name
Type
Description

type

boolean

true: 직선 가시화. false: 직선 비가시화.

  • Return

    • true: 설정 성공.

    • false: 설정 실패.

  • Sample

    • the createGraph function 참조.

Getter / Setter

getDescription(), setDescription(desc) → string

객체에 대한 설명을 설정합니다.

Name
Type
Description

desc

string

설명 문자열.

  • Return

    • string: 객체 설명 문자열이 성공적으로 반환.

    • null: 객체가 null인 경우.

var strDesc = object.getDescription();
// ... or ...
object.setDescription("First Object.");

getName(), setName(name) → string

객체 이름을 설정합니다.

Name
Type
Description

name

string

객체 이름.

  • Return

    • string: 객체 이름을 성공적을 반환

    • null: 객체가 null인 경우.

var objName = object.getName();
// ... or ...
object.setName("MyObject");

getVisible(), setVisible(visible) → boolean

객체의 가시화 유무를 설정합니다.

Name
Type
Description

visible

boolean

true: 객체 가시화. false: 객체 비가시화.

  • Return

    • true: 객체 가시화 상태.

    • false: 객체 비가시화 상태.

var objName = object.getName();
// ... or ...
object.setVisible(true);

Sandbox_Point Graph
Sandbox_Point Graph
Sandbox_Point Graph
Sandbox_Point Graph
Sandbox_Point Graph
JSVector3D
JSSize3D
JSColor