new ov.Widget.SatelliteWidget(param)
common/PilotGaea-Widget.js, line 14127
新增衛星Widget,需加入material-icons.css
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
或參照Google Fonts Material Icons Guide設置離線版本。
https://developers.google.com/fonts/docs/material_icons
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
參數。
|
Methods
-
addSatelliteByNORADIds(ids)
common/PilotGaea-Widget.js, line 14299 -
新增衛星。
Name Type Description ids
Array.<Number> optional 從N2YO新增此清單衛星Id。
-
batchExport(fileName)
common/PilotGaea-Widget.js, line 15397 -
批次匯出衛星。
Name Type Default Description fileName
String "匯出衛星.txt" optional 匯出的檔案名稱。
-
batchImportFromUrl(){String}
common/PilotGaea-Widget.js, line 15376 -
批次匯入衛星。
Returns:
Type Description String url 衛星TLE檔案位置。
Type Definitions
-
setOnSatelliteAddedCallback(entity)
common/PilotGaea-Widget.js, line 14222 -
Name Type Description entity
ov.MilitarySatelliteEntity 衛星物件。