公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.ImageCollection.getVideoThumbURL
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
获取相应 ImageCollection 的动画缩略图的网址。
返回缩略图网址,如果指定了回调,则返回 undefined。
用法 | 返回 |
---|
ImageCollection.getVideoThumbURL(params, callback) | 对象|字符串 |
参数 | 类型 | 详细信息 |
---|
此:imagecollection | ImageCollection | ImageCollection 实例。 |
params | 对象 | 与 ee.data.getMapId 相同的参数,以及可选参数:
dimensions (一个数字或一对数字,格式为 WIDTHxHEIGHT)要呈现的缩略图的最大尺寸(以像素为单位)。如果只传递一个数字,则将其用作最大值,并通过按比例缩放计算另一个维度。 |
region (东、南、西、北或 GeoJSON)要渲染的图片的地理空间区域。默认情况下,为整个图片。 |
format (字符串)编码格式。仅接受“gif”格式。 |
framesPerSecond (数字)动画速度。 |
|
callback | 函数(可选) | 一个可选的回调,用于处理生成的网址字符串。如果未提供,则以同步方式进行调用。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):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"],null,[]]