new ov.SensorThings()
SensorThings命名空間
Classes
- AQIDrawSetting
- AQIServiceInfo
- DrawSetting
- PM25DrawSetting
- PM25ServiceInfo
- SensorThingsResource
- ServiceInfo
Methods
-
staticov.SensorThings.createBar(terrainView, sensorThings, setting, onProgress, onCompleted)
common/PilotGaea-SensorThings.js, line 902 -
用SensorThings資料建立三維自畫柱圖素。
Name Type Description terrainViewov.TerrainView 圖台手柄。
sensorThingsov.SensorThings.SensorThingsResource SensorThings資料。
settingov.SensorThings.DrawSetting 作畫設定參數。
onProgressov.SensorThings~createBarOnProgressCallback 處理進度的回呼。
onCompletedov.SensorThings~createBarOnCompletedCallback 處理完成的回呼。
Example
let drawSetting = new ov.SensorThings.PM25DrawSetting();
let customLayer = null;
ov.SensorThings.createBar(terrainView, resource, drawSetting, console.log, function(layer){ customLayer = layer; }); -
staticov.SensorThings.createCluster(terrainView, sensorThings, setting, onProgress, onCompleted)
common/PilotGaea-SensorThings.js, line 931 -
用SensorThings資料建立三維自畫叢集點圖素。
Name Type Description terrainViewov.TerrainView 圖台手柄。
sensorThingsov.SensorThings.SensorThingsResource SensorThings資料。
settingov.SensorThings.DrawSetting 作畫設定參數。
onProgressov.SensorThings~createClusterOnProgressCallback 處理進度的回呼。
onCompletedov.SensorThings~createClusterOnCompletedCallback 處理完成的回呼。
Example
let drawSetting = new ov.SensorThings.PM25DrawSetting();
let customLayer = null;
ov.SensorThings.createCluster(terrainView, resource, drawSetting, console.log, function(layer){ customLayer = layer; }); -
staticov.SensorThings.createHeatMap(terrainView, sensorThings, setting, onProgress, onCompleted)
common/PilotGaea-SensorThings.js, line 960 -
用SensorThings資料建立熱圖圖層。
Name Type Description terrainViewov.TerrainView 圖台手柄。
sensorThingsov.SensorThings.SensorThingsResource SensorThings資料。
settingov.SensorThings.DrawSetting 作畫設定參數。
onProgressov.SensorThings~createHeatMapOnProgressCallback 處理進度的回呼。
onCompletedov.SensorThings~createHeatMapOnCompletedCallback 處理完成的回呼。
Example
let drawSetting = new ov.SensorThings.PM25DrawSetting();
let overlay = null;
ov.SensorThings.createHeatMap(terrainView, resource, drawSetting, console.log, function(layer){ overlay = layer; }); -
staticov.SensorThings.createPoint(terrainView, sensorThings, setting, onProgress, onCompleted)
common/PilotGaea-SensorThings.js, line 873 -
用SensorThings資料建立三維自畫點圖素。
Name Type Description terrainViewov.TerrainView 圖台手柄。
sensorThingsov.SensorThings.SensorThingsResource SensorThings資料。
settingov.SensorThings.DrawSetting 作畫設定參數。
onProgressov.SensorThings~createPointOnProgressCallback 處理進度的回呼。
onCompletedov.SensorThings~createPointOnCompletedCallback 處理完成的回呼。
Example
let drawSetting = new ov.SensorThings.PM25DrawSetting();
let customLayer = null;
ov.SensorThings.createPoint(terrainView, resource, drawSetting, console.log, function(layer){ customLayer = layer; }); -
staticov.SensorThings.createPointOverlay(terrainView, sensorThings, setting, onProgress, onCompleted)
common/PilotGaea-SensorThings.js, line 989 -
用SensorThings資料建立點貼圖圖層。
Name Type Description terrainViewov.TerrainView 圖台手柄。
sensorThingsov.SensorThings.SensorThingsResource SensorThings資料。
settingov.SensorThings.DrawSetting 作畫設定參數。
onProgressov.SensorThings~createPointOverlayOnProgressCallback 處理進度的回呼。
onCompletedov.SensorThings~createPointOverlayOnCompletedCallback 處理完成的回呼。
Example
let drawSetting = new ov.SensorThings.PM25DrawSetting();
let overlay = null;
ov.SensorThings.createPointOverlay(terrainView, resource, drawSetting, console.log, function(layer){ overlay = layer; }); -
staticov.SensorThings.createRegion(terrainView, sensorThings, setting, onProgress, onCompleted)
common/PilotGaea-SensorThings.js, line 1018 -
用SensorThings資料建立區域平均值圖層。
Name Type Description terrainViewov.TerrainView 圖台手柄。
sensorThingsov.SensorThings.SensorThingsResource SensorThings資料。
settingov.SensorThings.DrawSetting 作畫設定參數。
onProgressov.SensorThings~createRegionOnProgressCallback 處理進度的回呼。
onCompletedov.SensorThings~createRegionOnCompletedCallback 處理完成的回呼。
Example
let drawSetting = new ov.SensorThings.PM25DrawSetting();
let overlay = null;
ov.SensorThings.createRegion(terrainView, resource, drawSetting, console.log, function(layer){ overlay = layer; }); -
staticov.SensorThings.getSensorThingsData(serviceInfo, onProgress, onLoad){ov.SensorThings.SensorThingsResource}
common/PilotGaea-SensorThings.js, line 772 -
取得SensorThings資料。
Name Type Description serviceInfoov.SensorThings.ServiceInfo 測站資料,從ov.SensorThings.ServiceInfo取得。
onProgressov.SensorThings~getSensorThingsDataOnProgressCallback 載入進度的回呼。
onLoadov.SensorThings~getSensorThingsDataOnCompletedCallback 載入結束的回呼。
Returns:
Type Description ov.SensorThings.SensorThingsResource SensorThings資源,用以abort。 Example
let info = new ov.SensorThings.PM25ServiceInfo();
let resource = null;
ov.SensorThings.getSensorThingsData(info, console.log, function(ret){ resource = ret; }); -
staticov.SensorThings.getSTASensorThingsData(param, onProgress, onLoad){ov.SensorThings.SensorThingsResource}
common/PilotGaea-SensorThings.js, line 812 -
取得STA SensorThings資料。
Name Type Description paramObject 參數。
Name Type Default Description typeString 大項。
sourceNumber 來源。
catalogNumber 小項。
dataTypeNumber 資料類型。
proxyString "sensorthings.ashx?{URL}" optional 代理伺服器。
onProgressov.SensorThings~getSensorThingsDataOnProgressCallback 載入進度的回呼。
onLoadov.SensorThings~getSensorThingsDataOnCompletedCallback 載入結束的回呼。
Returns:
Type Description ov.SensorThings.SensorThingsResource SensorThings資源,用以abort。 Example
let info = new ov.SensorThings.PM25ServiceInfo();
let resource = null;
ov.SensorThings.getSensorThingsData(info, console.log, function(ret){ resource = ret; }); -
staticov.SensorThings.showSTASensorThingList(){Object}
common/PilotGaea-SensorThings.js, line 492 -
取得系統支援的STA SensorThings清單。
Returns:
Type Description Object STA SensorThings清單物件,依序為種類 來源 分類 資料類型。 Example
var obj = ov.SensorThings.showSTASensorThingList();
Type Definitions
-
createBarOnCompletedCallback(customLayer)
common/PilotGaea-SensorThings.js, line 913 -
Name Type Description customLayerov.CustomLayer 自畫圖層。
- See:
-
createBarOnProgressCallback(progressRate)
common/PilotGaea-SensorThings.js, line 908 -
Name Type Description progressRateNumber 處理資料的進度。
- See:
-
createClusterOnCompletedCallback(customLayer)
common/PilotGaea-SensorThings.js, line 942 -
Name Type Description customLayerov.CustomLayer 自畫圖層。
- See:
-
createClusterOnProgressCallback(progressRate)
common/PilotGaea-SensorThings.js, line 937 -
Name Type Description progressRateNumber 處理資料的進度。
- See:
-
createHeatMapOnCompletedCallback(overlay)
common/PilotGaea-SensorThings.js, line 971 -
Name Type Description overlayov.TerrainVisualizedDataGridOverlay 可視化資料網格圖層。
- See:
-
createHeatMapOnProgressCallback(progressRate)
common/PilotGaea-SensorThings.js, line 966 -
Name Type Description progressRateNumber 處理資料的進度。
- See:
-
createPointOnCompletedCallback(customLayer)
common/PilotGaea-SensorThings.js, line 884 -
Name Type Description customLayerov.CustomLayer 自畫圖層。
- See:
-
createPointOnProgressCallback(progressRate)
common/PilotGaea-SensorThings.js, line 879 -
Name Type Description progressRateNumber 處理資料的進度。
- See:
-
createPointOverlayOnCompletedCallback(overlay)
common/PilotGaea-SensorThings.js, line 1000 -
Name Type Description overlayov.TerrainSingleTileOverlay SingleTile圖層。
- See:
-
createPointOverlayOnProgressCallback(progressRate)
common/PilotGaea-SensorThings.js, line 995 -
Name Type Description progressRateNumber 處理資料的進度。
- See:
-
createRegionOnCompletedCallback(overlay)
common/PilotGaea-SensorThings.js, line 1029 -
Name Type Description overlayov.TerrainSingleTileOverlay SingleTile圖層。
- See:
-
createRegionOnProgressCallback(progressRate)
common/PilotGaea-SensorThings.js, line 1024 -
Name Type Description progressRateNumber 處理資料的進度。
- See:
-
getSensorThingsDataOnCompletedCallback(sensorThingsResource)
common/PilotGaea-SensorThings.js, line 790 -
Name Type Description sensorThingsResourceov.SensorThings.SensorThingsResource SensorThings資源。
-
getSensorThingsDataOnProgressCallback(progressRate)
common/PilotGaea-SensorThings.js, line 785 -
Name Type Description progressRateNumber 取資料的進度。