Class: DTM

ov.Widget. DTM

new ov.Widget.DTM(parameter){ov.Widget.DTM}

common/PilotGaea-Widget.js, line 1331

DTM加值服務Widget(地政司API需要TLS1.2!)。

Name Type Description
parameter Object

參數物件。

Name Type Description
view ov.TerrainView

圖台物件。

proxy String optional

代理伺服器。

analysisUrl String optional

加值服務網址。

selectFunc Array.<Array.<Number>> optional

選擇顯示功能,系統支援功能請參考 ov.Widget.DTM.GetAnalysisFunctions()。

removeFunc Array.<Array.<Number>> optional

不顯示功能,系統支援功能請參考 ov.Widget.DTM.GetAnalysisFunctions()。

Returns:
Type Description
ov.Widget.DTM DTM加值服務Widget物件。
Example

var param = {};
param.view = terrainView;
param.selectFunc = [[0], [0, 1], [0, 1, 2, 3, 4, 5, 6]];
var widget = new ov.Widget.DTM(param);

Methods

staticov.Widget.DTM.GetAnalysisFunctions(){ov.Widget.DTM}

common/PilotGaea-Widget.js, line 1954

取得DTM加值服務Widget支援功能。

Returns:
Type Description
ov.Widget.DTM DTM加值服務Widget物件。
Example

var functions = ov.Widget.GetAnalysisFunctions();

remove()

common/PilotGaea-Widget.js, line 1969

移除播放控制器Widget。