公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取。如未在 2025 年 9 月 26 日前完成驗證,存取權可能會暫停。
ee.ImageCollection.getVideoThumbURL
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
取得這個 ImageCollection 的動畫縮圖網址。
傳回縮圖網址,或在指定回呼時傳回未定義。
| 用量 | 傳回 |
|---|
ImageCollection.getVideoThumbURL(params, callback) | Object|String |
| 引數 | 類型 | 詳細資料 |
|---|
這個:imagecollection | ImageCollection | ImageCollection 執行個體。 |
params | 物件 | 與 ee.data.getMapId 相同的參數,外加選用參數:
dimensions (數字或以「WIDTHxHEIGHT」格式表示的一組數字) 要算繪的縮圖尺寸上限 (以像素為單位)。如果只傳遞一個數字,系統會將其做為最大值,並透過比例縮放計算其他維度。 |
region (E、S、W、N 或 GeoJSON) 要算繪的圖片地理空間區域。預設為整張圖片。 |
format (字串) 編碼格式。系統僅接受「gif」。 |
framesPerSecond (數字) 動畫速度。 |
|
callback | 函式 (選用) | 選用回呼,可處理產生的網址字串。如未提供,系統會同步發出呼叫。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[],["The `ImageCollection.getVideoThumbURL` method retrieves the URL of an animated thumbnail for an `ImageCollection`. It accepts parameters like `dimensions` (thumbnail size), `region` (area of interest), `format` ('gif' only), and `framesPerSecond` (animation speed). An optional `callback` function handles the resulting URL; otherwise, the call is synchronous. The method returns an Object or String containing the URL, or `undefined` if a callback was used. The ImageCollection instance is the targeted object of the method.\n"]]