@google/earthengine 0.1.389 → 0.1.390
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.tmp/BUILD +699 -0
- package/.tmp/METADATA +23 -0
- package/.tmp/VERSION_BUILD +47 -0
- package/build/browser.js +26 -25
- package/build/ee_api_js.js +16 -16
- package/build/ee_api_js_debug.js +3 -3
- package/build/ee_api_js_npm.js +26 -25
- package/build/main.js +26 -25
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/batch.js +2 -2
- package/src/data.js +245 -101
- package/src/eeapiclient/domain_object.ts +1 -0
- package/src/eeapiclient/multipart_request.ts +1 -0
- package/src/image.js +106 -59
- package/src/imagecollection.js +36 -15
package/src/imagecollection.js
CHANGED
|
@@ -114,13 +114,23 @@ ee.ImageCollection.reset = function() {
|
|
|
114
114
|
* Get the URL of a tiled thumbnail for this ImageCollection.
|
|
115
115
|
* @param {!Object} params Parameters identical to ee.data.getMapId, plus,
|
|
116
116
|
* optionally:
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
117
|
+
* <table>
|
|
118
|
+
* <tr>
|
|
119
|
+
* <td><code> dimensions </code> (a number or pair of numbers in
|
|
120
|
+
* format WIDTHxHEIGHT) Maximum dimensions of each thumbnail frame to
|
|
121
|
+
* render, in pixels. If only one number is passed, it is used as the
|
|
122
|
+
* maximum, and the other dimension is computed by proportional
|
|
123
|
+
* scaling.</td>
|
|
124
|
+
* </tr>
|
|
125
|
+
* <tr>
|
|
126
|
+
* <td><code> region </code> (E,S,W,N or GeoJSON) Geospatial region of
|
|
127
|
+
* the image to render. By default, the whole image.</td>
|
|
128
|
+
* </tr>
|
|
129
|
+
* <tr>
|
|
130
|
+
* <td><code> format </code> (string) Encoding format. Only 'png'
|
|
131
|
+
* or 'jpg' are accepted.</td>
|
|
132
|
+
* </tr>
|
|
133
|
+
* </table>
|
|
124
134
|
* @param {function(string, string=)=} opt_callback An optional
|
|
125
135
|
* callback which handles the resulting URL string. If not supplied, the
|
|
126
136
|
* call is made synchronously.
|
|
@@ -141,14 +151,25 @@ ee.ImageCollection.prototype.getFilmstripThumbURL = function(params, opt_callbac
|
|
|
141
151
|
* Get the URL of an animated thumbnail for this ImageCollection.
|
|
142
152
|
* @param {!Object} params Parameters identical to ee.data.getMapId, plus,
|
|
143
153
|
* optionally:
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
154
|
+
* <table>
|
|
155
|
+
* <tr>
|
|
156
|
+
* <td><code> dimensions </code> (a number or pair of numbers in format
|
|
157
|
+
* WIDTHxHEIGHT) Maximum dimensions of the thumbnail to render, in
|
|
158
|
+
* pixels. If only one number is passed, it is used as the maximum, and
|
|
159
|
+
* the other dimension is computed by proportional scaling.</td>
|
|
160
|
+
* </tr>
|
|
161
|
+
* <tr>
|
|
162
|
+
* <td><code> region </code> (E,S,W,N or GeoJSON) Geospatial region of
|
|
163
|
+
* the image to render. By default, the whole image.</td>
|
|
164
|
+
* </tr>
|
|
165
|
+
* <tr>
|
|
166
|
+
* <td><code> format </code> (string) Encoding format. Only 'gif'
|
|
167
|
+
* is accepted.</td>
|
|
168
|
+
* </tr>
|
|
169
|
+
* <tr>
|
|
170
|
+
* <td><code> framesPerSecond </code> (number) Animation speed.</td>
|
|
171
|
+
* </tr>
|
|
172
|
+
* </table>
|
|
152
173
|
* @param {function(string, string=)=} opt_callback An optional
|
|
153
174
|
* callback which handles the resulting URL string. If not supplied, the
|
|
154
175
|
* call is made synchronously.
|