@google/earthengine 0.1.373 → 0.1.374
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 +2 -2
- package/.tmp/METADATA +4 -4
- package/.tmp/VERSION_BUILD +2 -2
- package/build/browser.js +31 -32
- package/build/ee_api_js.js +170 -170
- package/build/ee_api_js_debug.js +31 -32
- package/build/ee_api_js_npm.js +31 -32
- package/build/main.js +31 -32
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/imagecollection.js +9 -2
- package/src/terrain.js +0 -0
package/src/imagecollection.js
CHANGED
|
@@ -359,11 +359,18 @@ ee.ImageCollection.prototype.select = function(selectors, opt_names) {
|
|
|
359
359
|
ee.ImageCollection.prototype.linkCollection = function(
|
|
360
360
|
imageCollection, opt_linkedBands, opt_linkedProperties,
|
|
361
361
|
opt_matchPropertyName) {
|
|
362
|
-
|
|
362
|
+
let args = ee.arguments.extractFromFunction(
|
|
363
|
+
ee.ImageCollection.prototype.linkCollection, arguments);
|
|
363
364
|
return /** @type {!ee.ImageCollection} */ (this.map(function(obj) {
|
|
364
365
|
let img = /** @type {!ee.Image} */ (obj);
|
|
365
366
|
img = /** @type {!ee.Image} */ (
|
|
366
|
-
ee.ApiFunction._call(
|
|
367
|
+
ee.ApiFunction._call(
|
|
368
|
+
'Image.linkCollection',
|
|
369
|
+
img,
|
|
370
|
+
/** @type {!ee.ImageCollection} */ (args['imageCollection']),
|
|
371
|
+
/** @type {?Array<string>} */ (args['linkedBands']),
|
|
372
|
+
/** @type {?Array<string>} */ (args['linkedProperties']),
|
|
373
|
+
/** @type {?string} */ (args['matchPropertyName'])));
|
|
367
374
|
return img;
|
|
368
375
|
}));
|
|
369
376
|
};
|
package/src/terrain.js
CHANGED
|
File without changes
|