ee.ImageCollection.getVideoThumbURL
Get the URL of an animated thumbnail for this ImageCollection.
Returns a thumbnail URL, or undefined if a callback was specified.
Usage | Returns |
---|
ImageCollection.getVideoThumbURL(params, callback) | Object|String |
Argument | Type | Details |
---|
this: imagecollection | ImageCollection | The ImageCollection instance. |
params | Object | Parameters identical to ee.data.getMapId, plus, optionally:
dimensions (a number or pair of numbers in format WIDTHxHEIGHT) Maximum dimensions of the thumbnail to render, in pixels. If only one number is passed, it is used as the maximum, and the other dimension is computed by proportional scaling. |
region (E,S,W,N or GeoJSON) Geospatial region of the image to render. By default, the whole image. |
format (string) Encoding format. Only 'gif' is accepted. |
framesPerSecond (number) Animation speed. |
|
callback | Function, optional | An optional callback which handles the resulting URL string. If not supplied, the call is made synchronously. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-20 UTC.
[null,null,["Last updated 2024-02-20 UTC."],[[["The `getVideoThumbURL` function generates an animated thumbnail URL for an ImageCollection."],["Users can customize the thumbnail's dimensions, region, format, and animation speed using optional parameters."],["The function returns the URL directly or passes it to a callback function if provided."]]],["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"]]