@google/earthengine 0.1.408 → 0.1.410
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/build/browser.js +116 -29
- package/build/ee_api_js.js +644 -644
- package/build/ee_api_js_debug.js +93 -6
- package/build/ee_api_js_npm.js +116 -29
- package/build/main.js +116 -29
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/computedobject.js +1 -1
- package/src/ee.js +1 -1
- package/src/layers/earthenginetilesource.js +1 -2
package/build/main.js
CHANGED
|
@@ -18,6 +18,7 @@ $jscomp.SIMPLE_FROUND_POLYFILL = !1;
|
|
|
18
18
|
$jscomp.ISOLATE_POLYFILLS = !1;
|
|
19
19
|
$jscomp.FORCE_POLYFILL_PROMISE = !1;
|
|
20
20
|
$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION = !1;
|
|
21
|
+
$jscomp.INSTRUMENT_ASYNC_CONTEXT = !1;
|
|
21
22
|
$jscomp.defineProperty = $jscomp.ASSUME_ES5 || typeof Object.defineProperties == "function" ? Object.defineProperty : function(target, property, descriptor) {
|
|
22
23
|
if (target == Array.prototype || target == Object.prototype) {
|
|
23
24
|
return target;
|
|
@@ -722,6 +723,27 @@ $jscomp.polyfill("Promise", function(NativePromise) {
|
|
|
722
723
|
$jscomp.polyfill("Object.setPrototypeOf", function(orig) {
|
|
723
724
|
return orig || $jscomp.setPrototypeOf;
|
|
724
725
|
}, "es6", "es5");
|
|
726
|
+
$jscomp.polyfill("Symbol.dispose", function(orig) {
|
|
727
|
+
return orig ? orig : Symbol("Symbol.dispose");
|
|
728
|
+
}, "es_next", "es3");
|
|
729
|
+
$jscomp.polyfill("SuppressedError", function(orig) {
|
|
730
|
+
function SuppressedError(error, suppressed, message) {
|
|
731
|
+
if (!(this instanceof SuppressedError)) {
|
|
732
|
+
return new SuppressedError(error, suppressed, message);
|
|
733
|
+
}
|
|
734
|
+
var tmpError = Error(message);
|
|
735
|
+
"stack" in tmpError && (this.stack = tmpError.stack);
|
|
736
|
+
this.message = tmpError.message;
|
|
737
|
+
this.error = error;
|
|
738
|
+
this.suppressed = suppressed;
|
|
739
|
+
}
|
|
740
|
+
if (orig) {
|
|
741
|
+
return orig;
|
|
742
|
+
}
|
|
743
|
+
$jscomp.inherits(SuppressedError, Error);
|
|
744
|
+
SuppressedError.prototype.name = "SuppressedError";
|
|
745
|
+
return SuppressedError;
|
|
746
|
+
}, "es_next", "es3");
|
|
725
747
|
$jscomp.iteratorFromArray = function(array, transform) {
|
|
726
748
|
array instanceof String && (array += "");
|
|
727
749
|
var i = 0, done = !1, iter = {next:function() {
|
|
@@ -1202,7 +1224,8 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1202
1224
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1203
1225
|
};
|
|
1204
1226
|
}, "es8", "es3");
|
|
1205
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_component_stacks__disable:!1,
|
|
1227
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_component_stacks__disable:!1, GoogFlags__client_only_wiz_direct_reactions__enable:!1, GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1,
|
|
1228
|
+
GoogFlags__use_user_agent_client_hints__enable:!1};
|
|
1206
1229
|
/*
|
|
1207
1230
|
|
|
1208
1231
|
Copyright The Closure Library Authors.
|
|
@@ -1958,6 +1981,67 @@ module$exports$tslib.__classPrivateFieldIn = function(state, receiver) {
|
|
|
1958
1981
|
}
|
|
1959
1982
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
1960
1983
|
};
|
|
1984
|
+
module$exports$tslib.__addDisposableResource = function(env, value, async) {
|
|
1985
|
+
if (value !== null && value !== void 0) {
|
|
1986
|
+
if (typeof value !== "object" && typeof value !== "function") {
|
|
1987
|
+
throw new TypeError("Object expected.");
|
|
1988
|
+
}
|
|
1989
|
+
var inner;
|
|
1990
|
+
if (async) {
|
|
1991
|
+
if (!Symbol.asyncDispose) {
|
|
1992
|
+
throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
1993
|
+
}
|
|
1994
|
+
var dispose = value[Symbol.asyncDispose];
|
|
1995
|
+
}
|
|
1996
|
+
if (dispose === void 0) {
|
|
1997
|
+
if (!Symbol.dispose) {
|
|
1998
|
+
throw new TypeError("Symbol.dispose is not defined.");
|
|
1999
|
+
}
|
|
2000
|
+
dispose = value[Symbol.dispose];
|
|
2001
|
+
async && (inner = dispose);
|
|
2002
|
+
}
|
|
2003
|
+
if (typeof dispose !== "function") {
|
|
2004
|
+
throw new TypeError("Object not disposable.");
|
|
2005
|
+
}
|
|
2006
|
+
inner && (dispose = function() {
|
|
2007
|
+
try {
|
|
2008
|
+
inner.call(this);
|
|
2009
|
+
} catch (e) {
|
|
2010
|
+
return Promise.reject(e);
|
|
2011
|
+
}
|
|
2012
|
+
});
|
|
2013
|
+
env.stack.push({value:value, dispose:dispose, async:async});
|
|
2014
|
+
} else {
|
|
2015
|
+
async && env.stack.push({async:!0});
|
|
2016
|
+
}
|
|
2017
|
+
return value;
|
|
2018
|
+
};
|
|
2019
|
+
module$exports$tslib.__disposeResources = function(env) {
|
|
2020
|
+
function fail(e) {
|
|
2021
|
+
env.error = env.hasError ? new SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
|
2022
|
+
env.hasError = !0;
|
|
2023
|
+
}
|
|
2024
|
+
function next() {
|
|
2025
|
+
for (; env.stack.length;) {
|
|
2026
|
+
var rec = env.stack.pop();
|
|
2027
|
+
try {
|
|
2028
|
+
var result = rec.dispose && rec.dispose.call(rec.value);
|
|
2029
|
+
if (rec.async) {
|
|
2030
|
+
return Promise.resolve(result).then(next, function(e) {
|
|
2031
|
+
fail(e);
|
|
2032
|
+
return next();
|
|
2033
|
+
});
|
|
2034
|
+
}
|
|
2035
|
+
} catch (e) {
|
|
2036
|
+
fail(e);
|
|
2037
|
+
}
|
|
2038
|
+
}
|
|
2039
|
+
if (env.hasError) {
|
|
2040
|
+
throw env.error;
|
|
2041
|
+
}
|
|
2042
|
+
}
|
|
2043
|
+
return next();
|
|
2044
|
+
};
|
|
1961
2045
|
var module$exports$eeapiclient$domain_object = {}, module$contents$eeapiclient$domain_object_module = module$contents$eeapiclient$domain_object_module || {id:"javascript/typescript/contrib/apiclient/core/domain_object.closure.js"};
|
|
1962
2046
|
module$exports$eeapiclient$domain_object.ObjectMapMetadata = function() {
|
|
1963
2047
|
};
|
|
@@ -6788,8 +6872,9 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles = !1;
|
|
|
6788
6872
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles = !1;
|
|
6789
6873
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable = !1;
|
|
6790
6874
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable = !1;
|
|
6791
|
-
module$exports$closure$flags$flags$2etoggles.
|
|
6875
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable = !1;
|
|
6792
6876
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_component_stacks__disable = !1;
|
|
6877
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_direct_reactions__enable = !1;
|
|
6793
6878
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
|
|
6794
6879
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable = !1;
|
|
6795
6880
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_staging_flag__disable = !1;
|
|
@@ -6798,8 +6883,10 @@ goog.flags = {};
|
|
|
6798
6883
|
var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1, goog.FLAGS_STAGING_DEFAULT);
|
|
6799
6884
|
goog.flags.USE_USER_AGENT_CLIENT_HINTS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable : goog.readFlagInternalDoNotUseOrElse(610401301, !1);
|
|
6800
6885
|
goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable : goog.readFlagInternalDoNotUseOrElse(899588437, !1);
|
|
6801
|
-
goog.flags.JSPB_STOP_USING_REPEATED_FIELD_SETS_FROM_GENCODE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.
|
|
6886
|
+
goog.flags.JSPB_STOP_USING_REPEATED_FIELD_SETS_FROM_GENCODE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable) : goog.readFlagInternalDoNotUseOrElse(188588736,
|
|
6887
|
+
module$contents$goog$flags_STAGING);
|
|
6802
6888
|
goog.flags.CLIENT_ONLY_WIZ_COMPONENT_STACKS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_component_stacks__disable : goog.readFlagInternalDoNotUseOrElse(628162879, !0);
|
|
6889
|
+
goog.flags.CLIENT_ONLY_WIZ_DIRECT_REACTIONS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_direct_reactions__enable : goog.readFlagInternalDoNotUseOrElse(641353869, !1);
|
|
6803
6890
|
goog.flags.TESTONLY_DISABLED_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483644, !1);
|
|
6804
6891
|
goog.flags.TESTONLY_DEBUG_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483645, goog.DEBUG);
|
|
6805
6892
|
goog.flags.TESTONLY_STAGING_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_staging_flag__disable) : goog.readFlagInternalDoNotUseOrElse(2147483646, module$contents$goog$flags_STAGING);
|
|
@@ -18976,7 +19063,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
18976
19063
|
ee.apiclient = {};
|
|
18977
19064
|
var module$contents$ee$apiclient_apiclient = {};
|
|
18978
19065
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
18979
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
19066
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.409";
|
|
18980
19067
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
18981
19068
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
18982
19069
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19274,8 +19361,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19274
19361
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19275
19362
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19276
19363
|
method = method || "POST";
|
|
19277
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
19278
|
-
version === "0.1.
|
|
19364
|
+
var headers = {"Content-Type":contentType}, version = "0.1.409";
|
|
19365
|
+
version === "0.1.409" && (version = "latest");
|
|
19279
19366
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19280
19367
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19281
19368
|
if (authToken != null) {
|
|
@@ -26802,29 +26889,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
26802
26889
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
26803
26890
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
26804
26891
|
(function() {
|
|
26805
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
26806
|
-
orderedParamLists = [["name"], ["name", "namedArgs"], ["name"
|
|
26807
|
-
"collection opt_description opt_assetId
|
|
26808
|
-
"
|
|
26809
|
-
"
|
|
26810
|
-
["
|
|
26811
|
-
"
|
|
26812
|
-
"
|
|
26813
|
-
"opt_callback"], ["
|
|
26814
|
-
|
|
26815
|
-
"opt_callback"], ["
|
|
26816
|
-
"opt_proj"
|
|
26817
|
-
|
|
26818
|
-
[
|
|
26819
|
-
[ee.ApiFunction.
|
|
26820
|
-
module$contents$ee$batch_Export.
|
|
26821
|
-
ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.serialize, ee.data.
|
|
26822
|
-
ee.data.
|
|
26823
|
-
ee.data.
|
|
26824
|
-
ee.
|
|
26825
|
-
ee.Filter
|
|
26826
|
-
ee.Image.prototype.
|
|
26827
|
-
ee.ImageCollection.prototype.
|
|
26892
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._call ee.ApiFunction._apply ee.ApiFunction.lookup ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.image.toDrive ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.video.toCloudStorage ee.batch.Export.image.toCloudStorage ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.filter ee.Collection.prototype.filterDate ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.data.authenticate ee.data.getTableDownloadId ee.data.listBuckets ee.data.getTileUrl ee.data.getTaskList ee.data.deleteAsset ee.data.getAssetRootQuota ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.cancelOperation ee.data.listOperations ee.data.getAssetAcl ee.data.getWorkloadTag ee.data.getDownloadId ee.data.makeDownloadUrl ee.data.listImages ee.data.authenticateViaPopup ee.data.getFeatureViewTilesKey ee.data.getAssetRoots ee.data.listFeatures ee.data.getAsset ee.data.setWorkloadTag ee.data.createAssetHome ee.data.authenticateViaPrivateKey ee.data.getOperation ee.data.newTaskId ee.data.createAsset ee.data.getInfo ee.data.computeValue ee.data.setDefaultWorkloadTag ee.data.getThumbId ee.data.resetWorkloadTag ee.data.copyAsset ee.data.cancelTask ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.updateAsset ee.data.getList ee.data.getTaskStatus ee.data.updateTask ee.data.createFolder ee.data.startProcessing ee.data.startIngestion ee.data.makeThumbUrl ee.data.setAssetAcl ee.data.listAssets ee.data.renameAsset ee.data.authenticateViaOauth ee.data.getMapId ee.data.setAssetProperties ee.Date ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Dictionary ee.Algorithms ee.InitState ee.apply ee.reset ee.TILE_SIZE ee.initialize ee.call ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMap ee.Feature ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.Filter.lt ee.Filter.inList ee.Filter.or ee.Filter.gt ee.Filter.lte ee.Filter.gte ee.Filter ee.Filter.eq ee.Filter.date ee.Filter.metadata ee.Filter.bounds ee.Filter.and ee.Filter.prototype.not ee.Filter.neq ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.Polygon ee.Geometry ee.Geometry.Point ee.Geometry.prototype.toGeoJSON ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSONString ee.Geometry.LinearRing ee.Geometry.MultiPolygon ee.Geometry.MultiPoint ee.Geometry.Rectangle ee.Geometry.BBox ee.Geometry.LineString ee.Geometry.prototype.serialize ee.Image.prototype.select ee.Image.cat ee.Image.prototype.clip ee.Image.prototype.getThumbURL ee.Image.prototype.getThumbId ee.Image ee.Image.rgb ee.Image.prototype.expression ee.Image.prototype.rename ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getDownloadURL ee.Image.prototype.getMap ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.linkCollection ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.List ee.Number ee.Serializer.toReadableCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toCloudApiJSON ee.Serializer.encodeCloudApi ee.Serializer.toJSON ee.String ee.Terrain".split(" "),
|
|
26893
|
+
orderedParamLists = [["name", "var_args"], ["name", "namedArgs"], ["name"], "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),
|
|
26894
|
+
["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], ["classifier", "opt_description", "opt_assetId", "opt_priority"], "image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),
|
|
26895
|
+
"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "), "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
|
|
26896
|
+
"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),
|
|
26897
|
+
["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["name", "operator", "value"], ["geometry"], ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["filter"], ["start", "opt_end"], ["func", "var_args"], ["callback"], ["opt_callback"], ["legacy"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["params", "opt_callback"], ["project", "opt_callback"], ["id", "x", "y", "z"], ["opt_callback"], ["assetId", "opt_callback"], ["rootId", "opt_callback"],
|
|
26898
|
+
["id"], ["opt_limit", "opt_callback"], ["taskId", "request", "opt_callback"], ["operationName", "opt_callback"], ["opt_limit", "opt_callback"], ["assetId", "opt_callback"], [], ["params", "opt_callback"], ["id"], ["parent", "opt_params", "opt_callback"], ["opt_success", "opt_error"], ["params", "opt_callback"], ["opt_callback"], ["asset", "params", "opt_callback"], ["id", "opt_callback"], ["tag"], ["requestedId", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"],
|
|
26899
|
+
["operationName", "opt_callback"], ["opt_count", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["id", "opt_callback"], ["obj", "opt_callback"], ["tag"], ["params", "opt_callback"], ["opt_resetDefault"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"],
|
|
26900
|
+
["taskId", "action", "opt_callback"], ["path", "opt_force", "opt_callback"], ["taskId", "params", "opt_callback"], ["taskId", "request", "opt_callback"], ["id"], ["assetId", "aclUpdate", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["date", "opt_tz"], ["json"],
|
|
26901
|
+
["json"], ["json"], ["json"], ["opt_dict"], [], [], ["func", "namedArgs"], [], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "var_args"], ["var_args"], [], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["args", "opt_column"], ["opt_visParams",
|
|
26902
|
+
"opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["name", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["var_args"], ["name", "value"], ["name", "value"], ["name", "value"], ["opt_filter"], ["name", "value"], ["start", "opt_end"], ["name", "operator", "value"], ["geometry", "opt_errorMargin"], ["var_args"], [], ["name", "value"], ["var_args"], ["namedArgs"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"],
|
|
26903
|
+
["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["west", "south", "east", "north"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["legacy"], ["var_args"], ["var_args"], ["geometry"], ["params",
|
|
26904
|
+
"opt_callback"], ["params", "opt_callback"], ["opt_args"], ["r", "g", "b"], ["expression", "opt_map"], ["var_args"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], [], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["selectors", "opt_names"], ["opt_visParams", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["args"], ["params", "opt_callback"],
|
|
26905
|
+
["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
26906
|
+
[ee.ApiFunction._call, ee.ApiFunction._apply, ee.ApiFunction.lookup, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage,
|
|
26907
|
+
module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.image.toCloudStorage, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterBounds, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.filter, ee.Collection.prototype.filterDate, ee.ComputedObject.prototype.aside,
|
|
26908
|
+
ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.serialize, ee.data.authenticate, ee.data.getTableDownloadId, ee.data.listBuckets, ee.data.getTileUrl, ee.data.getTaskList, ee.data.deleteAsset, ee.data.getAssetRootQuota, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.startTableIngestion, ee.data.cancelOperation, ee.data.listOperations, ee.data.getAssetAcl, ee.data.getWorkloadTag, ee.data.getDownloadId, ee.data.makeDownloadUrl,
|
|
26909
|
+
ee.data.listImages, ee.data.authenticateViaPopup, ee.data.getFeatureViewTilesKey, ee.data.getAssetRoots, ee.data.listFeatures, ee.data.getAsset, ee.data.setWorkloadTag, ee.data.createAssetHome, ee.data.authenticateViaPrivateKey, ee.data.getOperation, ee.data.newTaskId, ee.data.createAsset, ee.data.getInfo, ee.data.computeValue, ee.data.setDefaultWorkloadTag, ee.data.getThumbId, ee.data.resetWorkloadTag, ee.data.copyAsset, ee.data.cancelTask, ee.data.getVideoThumbId, ee.data.getFilmstripThumbId,
|
|
26910
|
+
ee.data.updateAsset, ee.data.getList, ee.data.getTaskStatus, ee.data.updateTask, ee.data.createFolder, ee.data.startProcessing, ee.data.startIngestion, ee.data.makeThumbUrl, ee.data.setAssetAcl, ee.data.listAssets, ee.data.renameAsset, ee.data.authenticateViaOauth, ee.data.getMapId, ee.data.setAssetProperties, ee.Date, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Dictionary, ee.Algorithms, ee.InitState, ee.apply, ee.reset,
|
|
26911
|
+
ee.TILE_SIZE, ee.initialize, ee.call, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getMap, ee.Feature, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.FeatureCollection, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getDownloadURL, ee.Filter.lt, ee.Filter.inList, ee.Filter.or, ee.Filter.gt, ee.Filter.lte, ee.Filter.gte,
|
|
26912
|
+
ee.Filter, ee.Filter.eq, ee.Filter.date, ee.Filter.metadata, ee.Filter.bounds, ee.Filter.and, ee.Filter.prototype.not, ee.Filter.neq, ee.Function.prototype.call, ee.Function.prototype.apply, ee.Geometry.Polygon, ee.Geometry, ee.Geometry.Point, ee.Geometry.prototype.toGeoJSON, ee.Geometry.MultiLineString, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.LinearRing, ee.Geometry.MultiPolygon, ee.Geometry.MultiPoint, ee.Geometry.Rectangle, ee.Geometry.BBox, ee.Geometry.LineString, ee.Geometry.prototype.serialize,
|
|
26913
|
+
ee.Image.prototype.select, ee.Image.cat, ee.Image.prototype.clip, ee.Image.prototype.getThumbURL, ee.Image.prototype.getThumbId, ee.Image, ee.Image.rgb, ee.Image.prototype.expression, ee.Image.prototype.rename, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.getDownloadURL, ee.Image.prototype.getMap, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select,
|
|
26914
|
+
ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.List, ee.Number, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.toReadableJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toCloudApiJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
26828
26915
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
26829
26916
|
});
|
|
26830
26917
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|
package/package.json
CHANGED
package/src/apiclient.js
CHANGED
|
@@ -24,7 +24,7 @@ const {trustedResourceUrl} = goog.require('safevalues');
|
|
|
24
24
|
/** @namespace */
|
|
25
25
|
const apiclient = {};
|
|
26
26
|
|
|
27
|
-
const API_CLIENT_VERSION = '0.1.
|
|
27
|
+
const API_CLIENT_VERSION = '0.1.410';
|
|
28
28
|
|
|
29
29
|
exports.VERSION = apiVersion.VERSION;
|
|
30
30
|
exports.API_CLIENT_VERSION = API_CLIENT_VERSION;
|
package/src/computedobject.js
CHANGED
|
@@ -22,7 +22,7 @@ goog.requireType('ee.Function');
|
|
|
22
22
|
* ComputedObjects come in two flavors:
|
|
23
23
|
* 1. If func != null and args != null, the ComputedObject is encoded as an
|
|
24
24
|
* invocation of func with args.
|
|
25
|
-
* 2. If func == null and
|
|
25
|
+
* 2. If func == null and args == null, the ComputedObject is a variable
|
|
26
26
|
* reference. The variable name is stored in its varName member. Note that
|
|
27
27
|
* in this case, varName may still be null; this allows the name to be
|
|
28
28
|
* deterministically generated at a later time. This is used to generate
|
package/src/ee.js
CHANGED
|
@@ -249,7 +249,7 @@ ee.call = function(func, var_args) {
|
|
|
249
249
|
}
|
|
250
250
|
// Extract var_args.
|
|
251
251
|
const args = Array.prototype.slice.call(arguments, 1);
|
|
252
|
-
// Call func.call with the extracted
|
|
252
|
+
// Call func.call with the extracted args.
|
|
253
253
|
return ee.Function.prototype.call.apply(func, args);
|
|
254
254
|
};
|
|
255
255
|
|
|
@@ -4,7 +4,6 @@ goog.module.declareLegacyNamespace();
|
|
|
4
4
|
const AbstractTile = goog.require('ee.layers.AbstractTile');
|
|
5
5
|
const AbstractTileSource = goog.require('ee.layers.AbstractTileSource');
|
|
6
6
|
const PriorityPool = goog.require('goog.structs.PriorityPool');
|
|
7
|
-
const Profiler = goog.requireType('ee.data.Profiler');
|
|
8
7
|
const data = goog.require('ee.data');
|
|
9
8
|
const events = goog.require('goog.events');
|
|
10
9
|
|
|
@@ -18,7 +17,7 @@ const EarthEngineTileSource = class extends AbstractTileSource {
|
|
|
18
17
|
/**
|
|
19
18
|
* @param {!data.RawMapId} mapId The EE map ID for fetching this layer's
|
|
20
19
|
* tiles.
|
|
21
|
-
* @param {data.Profiler=} opt_profiler The profiler to send map tile
|
|
20
|
+
* @param {?data.Profiler=} opt_profiler The profiler to send map tile
|
|
22
21
|
* calculation cost to, if any.
|
|
23
22
|
* @param {number=} opt_parallelism The number of map tiles to fetch
|
|
24
23
|
* concurrently.
|