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 terrainView
ov.TerrainView 圖台手柄。
sensorThings
ov.SensorThings.SensorThingsResource SensorThings資料。
setting
ov.SensorThings.DrawSetting 作畫設定參數。
onProgress
ov.SensorThings~createBarOnProgressCallback 處理進度的回呼。
onCompleted
ov.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 terrainView
ov.TerrainView 圖台手柄。
sensorThings
ov.SensorThings.SensorThingsResource SensorThings資料。
setting
ov.SensorThings.DrawSetting 作畫設定參數。
onProgress
ov.SensorThings~createClusterOnProgressCallback 處理進度的回呼。
onCompleted
ov.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 terrainView
ov.TerrainView 圖台手柄。
sensorThings
ov.SensorThings.SensorThingsResource SensorThings資料。
setting
ov.SensorThings.DrawSetting 作畫設定參數。
onProgress
ov.SensorThings~createHeatMapOnProgressCallback 處理進度的回呼。
onCompleted
ov.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 terrainView
ov.TerrainView 圖台手柄。
sensorThings
ov.SensorThings.SensorThingsResource SensorThings資料。
setting
ov.SensorThings.DrawSetting 作畫設定參數。
onProgress
ov.SensorThings~createPointOnProgressCallback 處理進度的回呼。
onCompleted
ov.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 terrainView
ov.TerrainView 圖台手柄。
sensorThings
ov.SensorThings.SensorThingsResource SensorThings資料。
setting
ov.SensorThings.DrawSetting 作畫設定參數。
onProgress
ov.SensorThings~createPointOverlayOnProgressCallback 處理進度的回呼。
onCompleted
ov.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 terrainView
ov.TerrainView 圖台手柄。
sensorThings
ov.SensorThings.SensorThingsResource SensorThings資料。
setting
ov.SensorThings.DrawSetting 作畫設定參數。
onProgress
ov.SensorThings~createRegionOnProgressCallback 處理進度的回呼。
onCompleted
ov.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 serviceInfo
ov.SensorThings.ServiceInfo 測站資料,從ov.SensorThings.ServiceInfo取得。
onProgress
ov.SensorThings~getSensorThingsDataOnProgressCallback 載入進度的回呼。
onLoad
ov.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 param
Object 參數。
Name Type Default Description type
String 大項。
source
Number 來源。
catalog
Number 小項。
dataType
Number 資料類型。
proxy
String "sensorthings.ashx?{URL}" optional 代理伺服器。
onProgress
ov.SensorThings~getSensorThingsDataOnProgressCallback 載入進度的回呼。
onLoad
ov.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 customLayer
ov.CustomLayer 自畫圖層。
- See:
-
createBarOnProgressCallback(progressRate)
common/PilotGaea-SensorThings.js, line 908 -
Name Type Description progressRate
Number 處理資料的進度。
- See:
-
createClusterOnCompletedCallback(customLayer)
common/PilotGaea-SensorThings.js, line 942 -
Name Type Description customLayer
ov.CustomLayer 自畫圖層。
- See:
-
createClusterOnProgressCallback(progressRate)
common/PilotGaea-SensorThings.js, line 937 -
Name Type Description progressRate
Number 處理資料的進度。
- See:
-
createHeatMapOnCompletedCallback(overlay)
common/PilotGaea-SensorThings.js, line 971 -
Name Type Description overlay
ov.TerrainVisualizedDataGridOverlay 可視化資料網格圖層。
- See:
-
createHeatMapOnProgressCallback(progressRate)
common/PilotGaea-SensorThings.js, line 966 -
Name Type Description progressRate
Number 處理資料的進度。
- See:
-
createPointOnCompletedCallback(customLayer)
common/PilotGaea-SensorThings.js, line 884 -
Name Type Description customLayer
ov.CustomLayer 自畫圖層。
- See:
-
createPointOnProgressCallback(progressRate)
common/PilotGaea-SensorThings.js, line 879 -
Name Type Description progressRate
Number 處理資料的進度。
- See:
-
createPointOverlayOnCompletedCallback(overlay)
common/PilotGaea-SensorThings.js, line 1000 -
Name Type Description overlay
ov.TerrainSingleTileOverlay SingleTile圖層。
- See:
-
createPointOverlayOnProgressCallback(progressRate)
common/PilotGaea-SensorThings.js, line 995 -
Name Type Description progressRate
Number 處理資料的進度。
- See:
-
createRegionOnCompletedCallback(overlay)
common/PilotGaea-SensorThings.js, line 1029 -
Name Type Description overlay
ov.TerrainSingleTileOverlay SingleTile圖層。
- See:
-
createRegionOnProgressCallback(progressRate)
common/PilotGaea-SensorThings.js, line 1024 -
Name Type Description progressRate
Number 處理資料的進度。
- See:
-
getSensorThingsDataOnCompletedCallback(sensorThingsResource)
common/PilotGaea-SensorThings.js, line 790 -
Name Type Description sensorThingsResource
ov.SensorThings.SensorThingsResource SensorThings資源。
-
getSensorThingsDataOnProgressCallback(progressRate)
common/PilotGaea-SensorThings.js, line 785 -
Name Type Description progressRate
Number 取資料的進度。