@google/earthengine 1.7.15 → 1.7.16
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 +28 -28
- package/build/ee_api_js.js +18 -18
- package/build/ee_api_js_debug.js +6 -5
- package/build/ee_api_js_npm.js +28 -28
- package/build/main.js +28 -28
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/function.js +1 -1
package/build/browser.js
CHANGED
|
@@ -19628,7 +19628,7 @@ var $jscomp$templatelit$m1153655765$101 = $jscomp.createTemplateTagFirstArg(["ht
|
|
|
19628
19628
|
ee.apiclient = {};
|
|
19629
19629
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19630
19630
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19631
|
-
ee.apiclient.API_CLIENT_VERSION = "1.7.
|
|
19631
|
+
ee.apiclient.API_CLIENT_VERSION = "1.7.16";
|
|
19632
19632
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19633
19633
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19634
19634
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19933,8 +19933,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19933
19933
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19934
19934
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19935
19935
|
method = method || "POST";
|
|
19936
|
-
var headers = {"Content-Type":contentType}, version = "1.7.
|
|
19937
|
-
version === "1.7.
|
|
19936
|
+
var headers = {"Content-Type":contentType}, version = "1.7.16";
|
|
19937
|
+
version === "1.7.16" && (version = "latest");
|
|
19938
19938
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19939
19939
|
module$contents$ee$apiclient_apiclient.userAgent_ && (headers["User-Agent"] = module$contents$ee$apiclient_apiclient.userAgent_);
|
|
19940
19940
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
@@ -22597,7 +22597,7 @@ ee.Function.prototype.callOrApply = function(thisValue, args) {
|
|
|
22597
22597
|
};
|
|
22598
22598
|
ee.Function.prototype.promoteArgs = function(args) {
|
|
22599
22599
|
for (var specs = this.getSignature().args, promotedArgs = {}, known = {}, i = 0; i < specs.length; i++) {
|
|
22600
|
-
var name = specs[i].name;
|
|
22600
|
+
var name = String(specs[i].name);
|
|
22601
22601
|
if (name in args && args[name] !== void 0) {
|
|
22602
22602
|
promotedArgs[name] = ee.Function.promoter_(args[name], specs[i].type);
|
|
22603
22603
|
} else if (!specs[i].optional) {
|
|
@@ -25692,9 +25692,10 @@ goog.style.setStyle = function(element, style, opt_value) {
|
|
|
25692
25692
|
}
|
|
25693
25693
|
}
|
|
25694
25694
|
};
|
|
25695
|
+
goog.style.CSS_VARIABLE_REGEX_ = /^--.+/;
|
|
25695
25696
|
goog.style.setStyle_ = function(element, value, style) {
|
|
25696
25697
|
var propertyName = goog.style.getVendorJsStyleName_(element, style);
|
|
25697
|
-
propertyName && (element.style[propertyName] = value);
|
|
25698
|
+
propertyName && (goog.style.CSS_VARIABLE_REGEX_.test(propertyName) ? element.style.setProperty(propertyName, value) : element.style[propertyName] = value);
|
|
25698
25699
|
};
|
|
25699
25700
|
goog.style.styleNameCache_ = {};
|
|
25700
25701
|
goog.style.getVendorJsStyleName_ = function(element, style) {
|
|
@@ -27490,29 +27491,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27490
27491
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27491
27492
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27492
27493
|
(function() {
|
|
27493
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction.
|
|
27494
|
-
orderedParamLists = [["name"], ["name", "
|
|
27495
|
-
"image opt_description
|
|
27496
|
-
["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description
|
|
27497
|
-
"collection opt_description opt_bucket opt_fileNamePrefix
|
|
27498
|
-
|
|
27499
|
-
|
|
27500
|
-
"
|
|
27501
|
-
"opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["
|
|
27502
|
-
["
|
|
27503
|
-
|
|
27504
|
-
|
|
27505
|
-
["
|
|
27506
|
-
[
|
|
27507
|
-
|
|
27508
|
-
|
|
27509
|
-
ee.
|
|
27510
|
-
ee.data.
|
|
27511
|
-
ee.
|
|
27512
|
-
ee.
|
|
27513
|
-
ee.
|
|
27514
|
-
ee.
|
|
27515
|
-
ee.ImageCollection, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getInfo, ee.List, ee.Number, ee.Serializer.toJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.encode, ee.Serializer.toReadableCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27494
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.map.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.table.toAsset ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toDrive ee.batch.Export.classifier.toAsset ee.batch.Export.table.toDrive ee.batch.Export.table.toFeatureView ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toDrive ee.Collection.prototype.limit ee.Collection.prototype.filterDate ee.Collection.prototype.filterMetadata ee.Collection.prototype.iterate ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.sort ee.Collection.prototype.filter ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.data.makeTableDownloadUrl ee.data.getTableDownloadId ee.data.setAssetAcl ee.data.listImages ee.data.setAssetProperties ee.data.listBuckets ee.data.newTaskId ee.data.getAssetRootQuota ee.data.getAssetRoots ee.data.setWorkloadTag ee.data.listFeatures ee.data.getMapId ee.data.getWorkloadTag ee.data.createAssetHome ee.data.getTaskStatus ee.data.setDefaultWorkloadTag ee.data.resetWorkloadTag ee.data.getTileUrl ee.data.startIngestion ee.data.createAsset ee.data.listOperations ee.data.getTaskList ee.data.createFolder ee.data.getFeatureViewTilesKey ee.data.getTaskListWithLimit ee.data.renameAsset ee.data.startTableIngestion ee.data.computeValue ee.data.copyAsset ee.data.authenticateViaOauth ee.data.cancelOperation ee.data.getThumbId ee.data.deleteAsset ee.data.getVideoThumbId ee.data.getAsset ee.data.getOperation ee.data.getAssetAcl ee.data.getFilmstripThumbId ee.data.getInfo ee.data.cancelTask ee.data.getList ee.data.listAssets ee.data.authenticate ee.data.makeThumbUrl ee.data.updateTask ee.data.authenticateViaPopup ee.data.authenticateViaPrivateKey ee.data.updateAsset ee.data.getDownloadId ee.data.startProcessing ee.data.makeDownloadUrl ee.Date ee.Deserializer.decode ee.Deserializer.fromCloudApiJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromJSON ee.Dictionary ee.initialize ee.apply ee.InitState ee.TILE_SIZE ee.reset ee.Algorithms ee.call ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMap ee.FeatureCollection ee.FeatureCollection.prototype.getDownloadURL ee.Filter.neq ee.Filter.and ee.Filter.inList ee.Filter.prototype.not ee.Filter.lte ee.Filter ee.Filter.lt ee.Filter.bounds ee.Filter.date ee.Filter.gte ee.Filter.or ee.Filter.eq ee.Filter.gt ee.Filter.metadata ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.prototype.serialize ee.Geometry.MultiPoint ee.Geometry.LinearRing ee.Geometry.Point ee.Geometry ee.Geometry.LineString ee.Geometry.prototype.toGeoJSON ee.Geometry.Rectangle ee.Geometry.Polygon ee.Geometry.prototype.toGeoJSONString ee.Geometry.MultiLineString ee.Geometry.BBox ee.Geometry.MultiPolygon ee.Image.prototype.getDownloadURL ee.Image.prototype.getMap ee.Image.prototype.expression ee.Image.cat ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.clip ee.Image.prototype.rename ee.Image.prototype.select ee.Image ee.Image.rgb ee.Image.prototype.getThumbId ee.Image.prototype.getThumbURL ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection.prototype.select ee.List ee.Number ee.Serializer.encode ee.Serializer.encodeCloudApi ee.Serializer.toJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApiPretty ee.String ee.Terrain".split(" "),
|
|
27495
|
+
orderedParamLists = [["name"], ["name", "namedArgs"], ["name", "var_args"], "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_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), "collection opt_description opt_assetId opt_maxVertices opt_priority opt_overwrite".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(" "),
|
|
27496
|
+
"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority opt_overwrite".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(" "), "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(" "),
|
|
27497
|
+
["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking 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(" "),
|
|
27498
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "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(" "), ["max", "opt_property", "opt_ascending"], ["start", "opt_end"], ["name", "operator", "value"], ["algorithm", "opt_first"], ["algorithm",
|
|
27499
|
+
"opt_dropNulls"], ["geometry"], ["property", "opt_ascending"], ["filter"], ["opt_callback"], ["legacy"], ["func", "var_args"], ["callback"], ["id"], ["params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["project", "opt_callback"], ["opt_count", "opt_callback"], ["rootId", "opt_callback"], ["opt_callback"], ["tag"], ["asset", "params", "opt_callback"], ["params", "opt_callback"], [], ["requestedId",
|
|
27500
|
+
"opt_callback"], ["taskId", "opt_callback"], ["tag"], ["opt_resetDefault"], ["id", "x", "y", "z"], ["taskId", "request", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["opt_limit", "opt_callback"], ["opt_callback"], ["path", "opt_force", "opt_callback"], ["params", "opt_callback"], ["opt_limit", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["taskId", "request", "opt_callback"], ["obj", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite",
|
|
27501
|
+
"opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["operationName", "opt_callback"], ["params", "opt_callback"], ["assetId", "opt_callback"], ["params", "opt_callback"], ["id", "opt_callback"], ["operationName", "opt_callback"], ["assetId", "opt_callback"], ["params", "opt_callback"], ["id", "opt_callback"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["clientId", "success",
|
|
27502
|
+
"opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["id"], ["taskId", "action", "opt_callback"], ["opt_success", "opt_error"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["assetId", "asset", "updateFields", "opt_callback"], ["params", "opt_callback"], ["taskId", "params", "opt_callback"], ["id"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
|
|
27503
|
+
["func", "namedArgs"], [], [], [], [], ["func", "var_args"], ["var_args"], [], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_visParams", "opt_callback"], ["args", "opt_column"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["name", "value"], ["var_args"], ["opt_leftField", "opt_rightValue",
|
|
27504
|
+
"opt_rightField", "opt_leftValue"], [], ["name", "value"], ["opt_filter"], ["name", "value"], ["geometry", "opt_errorMargin"], ["start", "opt_end"], ["name", "value"], ["var_args"], ["name", "value"], ["name", "value"], ["name", "operator", "value"], ["var_args"], ["namedArgs"], ["legacy"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"],
|
|
27505
|
+
[], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["west", "south", "east", "north"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["expression", "opt_map"], ["var_args"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["geometry"], ["var_args"], ["var_args"], ["opt_args"],
|
|
27506
|
+
["r", "g", "b"], ["params", "opt_callback"], ["params", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["args"], ["opt_visParams", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], [], ["selectors", "opt_names"], ["list"], ["number"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27507
|
+
[ee.ApiFunction.lookup, ee.ApiFunction._apply, ee.ApiFunction._call, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.table.toDrive,
|
|
27508
|
+
module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.image.toDrive, ee.Collection.prototype.limit, ee.Collection.prototype.filterDate, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.iterate, ee.Collection.prototype.map, ee.Collection.prototype.filterBounds, ee.Collection.prototype.sort, ee.Collection.prototype.filter, ee.ComputedObject.prototype.getInfo,
|
|
27509
|
+
ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.evaluate, ee.data.makeTableDownloadUrl, ee.data.getTableDownloadId, ee.data.setAssetAcl, ee.data.listImages, ee.data.setAssetProperties, ee.data.listBuckets, ee.data.newTaskId, ee.data.getAssetRootQuota, ee.data.getAssetRoots, ee.data.setWorkloadTag, ee.data.listFeatures, ee.data.getMapId, ee.data.getWorkloadTag, ee.data.createAssetHome, ee.data.getTaskStatus, ee.data.setDefaultWorkloadTag, ee.data.resetWorkloadTag,
|
|
27510
|
+
ee.data.getTileUrl, ee.data.startIngestion, ee.data.createAsset, ee.data.listOperations, ee.data.getTaskList, ee.data.createFolder, ee.data.getFeatureViewTilesKey, ee.data.getTaskListWithLimit, ee.data.renameAsset, ee.data.startTableIngestion, ee.data.computeValue, ee.data.copyAsset, ee.data.authenticateViaOauth, ee.data.cancelOperation, ee.data.getThumbId, ee.data.deleteAsset, ee.data.getVideoThumbId, ee.data.getAsset, ee.data.getOperation, ee.data.getAssetAcl, ee.data.getFilmstripThumbId, ee.data.getInfo,
|
|
27511
|
+
ee.data.cancelTask, ee.data.getList, ee.data.listAssets, ee.data.authenticate, ee.data.makeThumbUrl, ee.data.updateTask, ee.data.authenticateViaPopup, ee.data.authenticateViaPrivateKey, ee.data.updateAsset, ee.data.getDownloadId, ee.data.startProcessing, ee.data.makeDownloadUrl, ee.Date, ee.Deserializer.decode, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromJSON, ee.Dictionary, ee.initialize, ee.apply, ee.InitState, ee.TILE_SIZE, ee.reset, ee.Algorithms, ee.call,
|
|
27512
|
+
ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.Feature, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection, ee.FeatureCollection.prototype.getDownloadURL, ee.Filter.neq, ee.Filter.and, ee.Filter.inList, ee.Filter.prototype.not, ee.Filter.lte, ee.Filter, ee.Filter.lt, ee.Filter.bounds,
|
|
27513
|
+
ee.Filter.date, ee.Filter.gte, ee.Filter.or, ee.Filter.eq, ee.Filter.gt, ee.Filter.metadata, ee.Function.prototype.call, ee.Function.prototype.apply, ee.Geometry.prototype.serialize, ee.Geometry.MultiPoint, ee.Geometry.LinearRing, ee.Geometry.Point, ee.Geometry, ee.Geometry.LineString, ee.Geometry.prototype.toGeoJSON, ee.Geometry.Rectangle, ee.Geometry.Polygon, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.MultiLineString, ee.Geometry.BBox, ee.Geometry.MultiPolygon, ee.Image.prototype.getDownloadURL,
|
|
27514
|
+
ee.Image.prototype.getMap, ee.Image.prototype.expression, ee.Image.cat, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.clip, ee.Image.prototype.rename, ee.Image.prototype.select, ee.Image, ee.Image.rgb, ee.Image.prototype.getThumbId, ee.Image.prototype.getThumbURL, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection, ee.ImageCollection.prototype.getMapId,
|
|
27515
|
+
ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.select, ee.List, ee.Number, ee.Serializer.encode, ee.Serializer.encodeCloudApi, ee.Serializer.toJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.Serializer.encodeCloudApiPretty, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27516
27516
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27517
27517
|
});
|
|
27518
27518
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|
package/build/ee_api_js.js
CHANGED
|
@@ -454,7 +454,7 @@ Pa(p,f[m]))});return b?b(l):l};return this.callback?(gj(d,null,function(f,l){ret
|
|
|
454
454
|
hj.prototype.send=function(a,b){var c=[a.C+" "+a.path+" HTTP/1.1"];c.push("Content-Type: application/json; charset=utf-8");var d=jj();d!=null&&c.push("Authorization: "+d);kj&&c.push("User-Agent: "+kj);a=a.body?JSON.stringify(a.body):"";return[c.join("\r\n")+"\r\n\r\n"+a,b]};
|
|
455
455
|
var lj=function(a,b,c){a=r(b.split("--"+a.split("; boundary=")[1]));for(b=a.next();!b.done;b=a.next())if(b=b.value.split("\r\n\r\n"),!(b.length<3)){var d=b[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1],e=Number(b[1].match(/^HTTP\S*\s(\d+)\s/)[1]);c(d,e,b.slice(2).join("\r\n\r\n"))}},ej=function(){var a=mj.replace(/\/api$/,"");return"window"in t&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},oj=function(a,b,c){var d=[];a&&(d=d.concat(nj));
|
|
456
456
|
b&&d.push("https://www.googleapis.com/auth/devstorage.read_write");a=d=d.concat(c);c=b=0;for(var e={};c<a.length;){var g=a[c++],f=u(g)?"o"+Ea(g):(typeof g).charAt(0)+g;Object.prototype.hasOwnProperty.call(e,f)||(e[f]=!0,a[b++]=g)}a.length=b;return d},vj=function(a,b,c){qj&&rj&&qj({client_id:String(rj),scope:sj.join(" "),plugin_name:"earthengine"},function(d){if(d.error=="immediate_failed"&&c)c();else if("window"in t)try{tj(function(){try{uj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else uj(a,
|
|
457
|
-
b,d)})},jj=function(){wj&&Date.now()-wj>=0&&xj();return yj},xj=function(){wj=yj=null},bj=function(a,b,c,d){a!=null?mj=a:zj||(mj="https://earthengine.googleapis.com/api");b!=null?Aj=b:zj||(Aj="https://earthengine.googleapis.com");c!==void 0&&(Bj=c);aj=d!=null?d:aj||"earthengine-legacy";zj=!0},gj=function(a,b,c,d,e,g,f){bj();var l=Cj,m="application/x-www-form-urlencoded";e&&(m="application/json",d&&d.startsWith("multipart")&&(m=d,d="POST"));d=d||"POST";m={"Content-Type":m};var p="1.7.
|
|
457
|
+
b,d)})},jj=function(){wj&&Date.now()-wj>=0&&xj();return yj},xj=function(){wj=yj=null},bj=function(a,b,c,d){a!=null?mj=a:zj||(mj="https://earthengine.googleapis.com/api");b!=null?Aj=b:zj||(Aj="https://earthengine.googleapis.com");c!==void 0&&(Bj=c);aj=d!=null?d:aj||"earthengine-legacy";zj=!0},gj=function(a,b,c,d,e,g,f){bj();var l=Cj,m="application/x-www-form-urlencoded";e&&(m="application/json",d&&d.startsWith("multipart")&&(m=d,d="POST"));d=d||"POST";m={"Content-Type":m};var p="1.7.16";p==="1.7.16"&&
|
|
458
458
|
(p="latest");m["x-goog-api-client"]="ee-js/"+p;kj&&(m["User-Agent"]=kj);p=jj();if(p!=null)m.Authorization=p;else if(c&&qj&&rj)return vj(function(){Dj(l,function(){gj(a,b,c,d)})}),null;b=b?b.clone():new Xc;Ej!=null&&b.add("key",Ej);l&&(m["X-Earth-Engine-Computation-Profiling"]="1");aj&&aj!=="earthengine-legacy"&&(m["X-Goog-User-Project"]=aj);b=Fj(b,a);Bj!=null&&(m["X-XSRF-Token"]=Bj);Gj!=null&&(m["X-Earth-Engine-App-ID-Token"]=Gj);p=e||null;var v=b?b.toString():"";d==="POST"&&e===void 0?p=v:/^[\s\xa0]*$/.test(v)||
|
|
459
459
|
(a+=a.indexOf("?")!=-1?"&":"?",a+=v);e=a.startsWith("/")?mj+a:a;if(c)return Hj.push(Ij(e,c,d,p,m,g,f)),Jj.qf(),null;v=function(G,ea){this.setRequestHeader&&this.setRequestHeader(ea,G)};var z=0;for(g=g!=null?g:5;;){var C=new XMLHttpRequest;C.open(d,e,!1);Za(m,v,C);C.send(p);if(C.status!=429||z>g)break;z++}return Kj(C.status,function(G){try{return C.getResponseHeader(G)}catch(ea){return null}},C.responseText,l,void 0,e,d,f)},Ij=function(a,b,c,d,e,g,f){var l=0,m={url:a,method:c,content:d,headers:e},
|
|
460
460
|
p=Cj,v=g!=null?g:10;m.callback=function(z){z=z.target;if(z.getStatus()==429&&l<v)return l++,setTimeout(function(){Hj.push(m);Jj.qf()},Math.min(12E4,Math.pow(2,l)*1E3)),null;var C=Kj,G=z.getStatus(),ea=w(z.getResponseHeader,z);try{var X=z.u?z.u.responseText:""}catch(da){Hc(z.ga,"Can not get responseText: "+da.message),X=""}return C(G,ea,X,p,b,a,c,f)};return m},Dj=function(a,b){var c=Cj;try{Cj=a,b.call(void 0)}finally{Cj=c}},Kj=function(a,b,c,d,e,g,f,l){var m=d?b("X-Earth-Engine-Computation-Profile"):
|
|
@@ -572,8 +572,8 @@ O.prototype.la=function(a){if(this.J===null&&this.args===null){a=this.V||a.Ti;if
|
|
|
572
572
|
O.prototype.toString=function(){return"ee."+this.name()+"("+Mk(this)+")"};x("ee.ComputedObject.prototype.toString",O.prototype.toString);O.prototype.name=function(){return"ComputedObject"};O.prototype.Hg=function(a,b){var c=Array.from(arguments);c[0]=this;a.apply(t,c);return this};O.prototype.aside=O.prototype.Hg;
|
|
573
573
|
var Fm=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c.prototype=a.constructor.prototype;a=new c;a.J=b.J;a.args=b.args;a.V=b.V;return a},Em=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var Gm={},Hm=function(a,b){if(b==a)return!0;switch(a){case "Element":return b=="Element"||b=="Image"||b=="Feature"||b=="Collection"||b=="ImageCollection"||b=="FeatureCollection";case "FeatureCollection":case "Collection":return b=="Collection"||b=="ImageCollection"||b=="FeatureCollection";case "Object":return!0;default:return!1}},Im=function(a){return typeof a==="number"||a instanceof O&&a.name()=="Number"},Jm=function(a){return typeof a==="string"||a instanceof O&&a.name()=="String"},Km=function(a){return u(a)&&
|
|
574
574
|
typeof a!=="function"?(a=Object.getPrototypeOf(a),a!==null&&Object.getPrototypeOf(a)===null):!1},Lm=function(a,b,c){c=c===void 0?!1:c;return a.length===1&&Km(a[0])&&(a=b.args,c&&(a=a.slice(1)),a.length)?!(a.length===1||a[1].optional)||a[0].type!=="Dictionary":!1};var Mm=function(){if(!(this instanceof Mm))return new Mm};y(Mm,Mj);x("ee.Function",Mm);var Nm=Td;Mm.prototype.call=function(a){return this.apply(Om(this,Array.prototype.slice.call(arguments,0)))};Mm.prototype.call=Mm.prototype.call;Mm.prototype.apply=function(a){a=new O(this,Pm(this,a));return Nm(a,this.aa().returns)};Mm.prototype.apply=Mm.prototype.apply;
|
|
575
|
-
var Qm=function(a,b,c){var d=b!==void 0,e=a.aa();if(Lm(c,e,d)){if(c=jb(c[0]),d){d=e.args[0].name;if(d in c)throw Error("Named args for "+e.name+" can't contain keyword "+d);c[d]=b}}else c=Om(a,d?[b].concat(c):c);return a.apply(c)},Pm=function(a,b){for(var c=a.aa().args,d={},e={},g=0;g<c.length;g++){var f=c[g].name;if(f in b&&b[f]!==void 0)d[f]=Nm(b[f],c[g].type);else if(!c[g].optional)throw Error("Required argument ("+f+") missing to function: "+a);e[f]=!0}c=[];for(var l in b)e[l]||c.push(l);
|
|
576
|
-
0)throw Error("Unrecognized arguments ("+c+") to function: "+a);return d},Om=function(a,b){var c=a.aa().args;if(c.length<b.length)throw Error("Too many ("+b.length+") arguments to function: "+a);a={};for(var d=0;d<b.length;d++)a[c[d].name]=b[d];return a};
|
|
575
|
+
var Qm=function(a,b,c){var d=b!==void 0,e=a.aa();if(Lm(c,e,d)){if(c=jb(c[0]),d){d=e.args[0].name;if(d in c)throw Error("Named args for "+e.name+" can't contain keyword "+d);c[d]=b}}else c=Om(a,d?[b].concat(c):c);return a.apply(c)},Pm=function(a,b){for(var c=a.aa().args,d={},e={},g=0;g<c.length;g++){var f=String(c[g].name);if(f in b&&b[f]!==void 0)d[f]=Nm(b[f],c[g].type);else if(!c[g].optional)throw Error("Required argument ("+f+") missing to function: "+a);e[f]=!0}c=[];for(var l in b)e[l]||c.push(l);
|
|
576
|
+
if(c.length>0)throw Error("Unrecognized arguments ("+c+") to function: "+a);return d},Om=function(a,b){var c=a.aa().args;if(c.length<b.length)throw Error("Too many ("+b.length+") arguments to function: "+a);a={};for(var d=0;d<b.length;d++)a[c[d].name]=b[d];return a};
|
|
577
577
|
Mm.prototype.toString=function(a,b){var c=this.aa(),d=[];d.push(a||c.name);d.push("(");d.push(dc(c.args.slice(b?1:0),function(g){return g.name}).join(", "));d.push(")\n");d.push("\n");c.description?d.push(c.description):d.push("Undocumented.");d.push("\n");if(c.args.length)for(d.push("\nArgs:\n"),a=0;a<c.args.length;a++){b&&a==0?d.push(" this:"):d.push("\n ");var e=c.args[a];d.push(e.name);d.push(" (");d.push(e.type);e.optional&&d.push(", optional");d.push("): ");e.description?d.push(e.description):
|
|
578
578
|
d.push("Undocumented.")}return d.join("")};Mm.prototype.ua=function(a){return(a===void 0?0:a)?Kk(this):Uk(this)};var P=function(a,b){if(b===void 0)return Rm(a);if(!(this instanceof P))return Em(P,arguments);this.ub=kb(b);this.ub.name=a};y(P,Mm);x("ee.ApiFunction",P);var Q=function(a,b){return Mm.prototype.call.apply(Rm(a),Array.prototype.slice.call(arguments,1))};x("ee.ApiFunction._call",Q);var Sm=function(a,b){return Rm(a).apply(b)};x("ee.ApiFunction._apply",Sm);P.prototype.encode=function(){return this.ub.name};P.prototype.Id=function(a,b){return Sj(this.ub.name,b)};P.prototype.aa=function(){return this.ub};
|
|
579
579
|
var Tm=null,Um={},Wm=function(){Vm();return ab(Tm,function(a){return a.aa()})},Xm=function(){Vm();return $a(Tm,function(a,b){return!Um[b]})},Rm=function(a){var b=Ym(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};x("ee.ApiFunction.lookup",Rm);
|
|
@@ -708,18 +708,18 @@ h.Cl=function(){if(!this.lc){var a=w(function(d){this.lc||(Yp(this.ea,this.da,d)
|
|
|
708
708
|
h.Qi=null;h.Ia=null;h.ni=null;var xq=["load","abort","error"],yq=function(){I.call(this);this.Da=!1};q(yq,I);yq.prototype.setActive=function(a){this.Da=a};yq.prototype.isActive=function(){return this.Da};var tq=function(a,b){oq.call(this,a,b)};q(tq,oq);tq.prototype.bf=function(){return new yq};tq.prototype.Gd=function(a){a.dispose()};tq.prototype.Sf=function(a){return!a.Qa&&!a.isActive()};var zq=function(a,b,c,d,e){ie.call(this,a,b,c,d,e);this.minZoom=d.minZoom||0;this.maxZoom=d.maxZoom||20;if(!window.google||!window.google.maps)throw Error("Google Maps API hasn't been initialized.");this.tileSize=d.tileSize||new google.maps.Size(256,256);this.name=d.name;this.xg=new ge;this.Tf=1;this.ta=e||null};q(zq,ie);h=zq.prototype;h.Oe=function(a){return Ed(this,"tileevent",a)};h.bg=function(a){Md(a)};
|
|
709
709
|
h.getTile=function(a,b,c){if(b<this.minZoom||a.y<0||a.y>=1<<b)return a=c.createElement("IMG"),a.style.width="0px",a.style.height="0px",a;b=je(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.ta&&this.ta.isEnabled()&&(a+="&profiling=1");b=[b,this.wb,this.token].join("/");this.wb+=1;c=ji("DIV",{id:b});var d=(new Date).getTime()/1E3;this.yb.push(b);ol(uq).send(b,a,d,w(this.bl,this,c,b));xp(this);return c};h.Pc=function(){return this.yb.length};
|
|
710
710
|
h.releaseTile=function(a){ol(uq).abort(a.id);if(a.firstElementChild!==void 0)var b=a.firstElementChild;else for(b=a.firstChild;b&&b.nodeType!=1;)b=b.nextSibling;this.xg.remove(b);a.id!==""&&(this.wg.remove(a.id),this.ta&&this.ta.tl(a.id))};h.setOpacity=function(a){this.Tf=a;var b=this.xg.Ca();Xd(b,function(c){Ip(c,a)})};
|
|
711
|
-
h.bl=function(a,b,c,d){c.type=="error"?(jc(this.yb,b),this.wg.add(b),this.dispatchEvent(c)):(jc(this.yb,b),c.target&&c.type=="load"&&(c=c.target,this.xg.add(c),this.Tf!=1&&Ip(c,this.Tf),a.appendChild(c)),xp(this));this.ta&&d!==null&&this.ta.Pk(b,d)};x("ee.MapLayerOverlay",zq);zq.prototype.removeTileCallback=zq.prototype.bg;zq.prototype.addTileCallback=zq.prototype.Oe;zq.prototype.getTile=zq.prototype.getTile;zq.prototype.setOpacity=zq.prototype.setOpacity;zq.prototype.releaseTile=zq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction.
|
|
712
|
-
c=[["name"
|
|
713
|
-
"
|
|
714
|
-
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond
|
|
715
|
-
"
|
|
716
|
-
["
|
|
717
|
-
"
|
|
718
|
-
"opt_callback"],["
|
|
719
|
-
"
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
[],["opt_callback"],["list"],["number"],["obj"],["obj"
|
|
724
|
-
|
|
725
|
-
N.prototype.l,N.prototype.clip,N,Z.prototype.vf,Z.prototype.
|
|
711
|
+
h.bl=function(a,b,c,d){c.type=="error"?(jc(this.yb,b),this.wg.add(b),this.dispatchEvent(c)):(jc(this.yb,b),c.target&&c.type=="load"&&(c=c.target,this.xg.add(c),this.Tf!=1&&Ip(c,this.Tf),a.appendChild(c)),xp(this));this.ta&&d!==null&&this.ta.Pk(b,d)};x("ee.MapLayerOverlay",zq);zq.prototype.removeTileCallback=zq.prototype.bg;zq.prototype.addTileCallback=zq.prototype.Oe;zq.prototype.getTile=zq.prototype.getTile;zq.prototype.setOpacity=zq.prototype.setOpacity;zq.prototype.releaseTile=zq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.table.toFeatureView ee.batch.Export.video.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.table.toCloudStorage ee.batch.Export.map.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toCloudStorage ee.batch.Export.table.toDrive ee.batch.Export.image.toAsset ee.batch.Export.video.toDrive ee.Collection.prototype.filterBounds ee.Collection.prototype.sort ee.Collection.prototype.filter ee.Collection.prototype.filterDate ee.Collection.prototype.map ee.Collection.prototype.filterMetadata ee.Collection.prototype.iterate ee.Collection.prototype.limit ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.data.getDownloadId ee.data.makeDownloadUrl ee.data.makeTableDownloadUrl ee.data.getTableDownloadId ee.data.updateAsset ee.data.setAssetAcl ee.data.listImages ee.data.newTaskId ee.data.listBuckets ee.data.setAssetProperties ee.data.getFeatureViewTilesKey ee.data.getAssetRootQuota ee.data.getMapId ee.data.getAssetRoots ee.data.getTaskStatus ee.data.startIngestion ee.data.createAssetHome ee.data.getWorkloadTag ee.data.setWorkloadTag ee.data.getTileUrl ee.data.listOperations ee.data.createAsset ee.data.getTaskList ee.data.setDefaultWorkloadTag ee.data.resetWorkloadTag ee.data.copyAsset ee.data.getTaskListWithLimit ee.data.listFeatures ee.data.startTableIngestion ee.data.renameAsset ee.data.cancelOperation ee.data.computeValue ee.data.authenticateViaOauth ee.data.createFolder ee.data.getThumbId ee.data.getVideoThumbId ee.data.getAsset ee.data.getOperation ee.data.deleteAsset ee.data.makeThumbUrl ee.data.getFilmstripThumbId ee.data.getInfo ee.data.cancelTask ee.data.getAssetAcl ee.data.authenticate ee.data.updateTask ee.data.authenticateViaPrivateKey ee.data.listAssets ee.data.startProcessing ee.data.getList ee.data.authenticateViaPopup ee.Date ee.Deserializer.decode ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.fromJSON ee.Dictionary ee.call ee.apply ee.initialize ee.TILE_SIZE ee.InitState ee.reset ee.Algorithms ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getInfo ee.FeatureCollection ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.select ee.Filter.gte ee.Filter.eq ee.Filter.metadata ee.Filter.lt ee.Filter.gt ee.Filter.inList ee.Filter.neq ee.Filter.lte ee.Filter.and ee.Filter.bounds ee.Filter.prototype.not ee.Filter.or ee.Filter ee.Filter.date ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.BBox ee.Geometry.LinearRing ee.Geometry.Polygon ee.Geometry.Rectangle ee.Geometry.prototype.serialize ee.Geometry ee.Geometry.MultiPoint ee.Geometry.MultiPolygon ee.Geometry.LineString ee.Geometry.MultiLineString ee.Geometry.Point ee.Geometry.prototype.toGeoJSON ee.Geometry.prototype.toGeoJSONString ee.Image.prototype.getThumbURL ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getMap ee.Image.rgb ee.Image.prototype.expression ee.Image.prototype.rename ee.Image ee.Image.prototype.getThumbId ee.Image.prototype.select ee.Image.prototype.clip ee.Image.prototype.getDownloadURL ee.Image.cat ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.linkCollection ee.ImageCollection ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.first ee.List ee.Number ee.Serializer.encodeCloudApi ee.Serializer.toJSON ee.Serializer.toReadableJSON ee.Serializer.toCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toReadableCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
712
|
+
c=[["name"],["name","namedArgs"],["name","var_args"],"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking 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_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(" "),
|
|
713
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices 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_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "),"collection opt_description opt_assetId opt_maxVertices opt_priority opt_overwrite".split(" "),
|
|
714
|
+
["classifier","opt_description","opt_assetId","opt_priority"],"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(" "),"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(" "),
|
|
715
|
+
"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority opt_overwrite".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(" "),
|
|
716
|
+
["geometry"],["property","opt_ascending"],["filter"],["start","opt_end"],["algorithm","opt_dropNulls"],["name","operator","value"],["algorithm","opt_first"],["max","opt_property","opt_ascending"],["opt_callback"],["callback"],["legacy"],["func","var_args"],["params","opt_callback"],["id"],["id"],["params","opt_callback"],["assetId","asset","updateFields","opt_callback"],["assetId","aclUpdate","opt_callback"],["parent","opt_params","opt_callback"],["opt_count","opt_callback"],["project","opt_callback"],
|
|
717
|
+
["assetId","properties","opt_callback"],["params","opt_callback"],["rootId","opt_callback"],["params","opt_callback"],["opt_callback"],["taskId","opt_callback"],["taskId","request","opt_callback"],["requestedId","opt_callback"],[],["tag"],["id","x","y","z"],["opt_limit","opt_callback"],["value","opt_path","opt_force","opt_properties","opt_callback"],["opt_callback"],["tag"],["opt_resetDefault"],["sourceId","destinationId","opt_overwrite","opt_callback"],["opt_limit","opt_callback"],["asset","params",
|
|
718
|
+
"opt_callback"],["taskId","request","opt_callback"],["sourceId","destinationId","opt_callback"],["operationName","opt_callback"],["obj","opt_callback"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["path","opt_force","opt_callback"],["params","opt_callback"],["params","opt_callback"],["id","opt_callback"],["operationName","opt_callback"],["assetId","opt_callback"],["id"],["params","opt_callback"],["id","opt_callback"],["taskId","opt_callback"],
|
|
719
|
+
["assetId","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["taskId","action","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["parent","opt_params","opt_callback"],["taskId","params","opt_callback"],["params","opt_callback"],["opt_success","opt_error"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],["func","var_args"],["func","namedArgs"],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
|
|
720
|
+
[],[],[],[],["var_args"],[],["geometry","opt_properties"],["opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["opt_callback"],["args","opt_column"],["opt_format","opt_selectors","opt_filename","opt_callback"],["opt_visParams","opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["name","value"],["name","value"],["name","operator","value"],["name","value"],["name","value"],["opt_leftField","opt_rightValue","opt_rightField",
|
|
721
|
+
"opt_leftValue"],["name","value"],["name","value"],["var_args"],["geometry","opt_errorMargin"],[],["var_args"],["opt_filter"],["start","opt_end"],["namedArgs"],["var_args"],["west","south","east","north"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["legacy"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError",
|
|
722
|
+
"opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj"],[],[],["params","opt_callback"],["opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["r","g","b"],["expression","opt_map"],["var_args"],["opt_args"],["params","opt_callback"],["var_args"],["geometry"],["params","opt_callback"],["var_args"],["opt_callback"],["params","opt_callback"],["opt_visParams","opt_callback"],["selectors",
|
|
723
|
+
"opt_names"],["opt_visParams","opt_callback"],["imageCollection","opt_linkedBands","opt_linkedProperties","opt_matchPropertyName"],["args"],["params","opt_callback"],[],["list"],["number"],["obj"],["obj"],["obj"],["obj"],["obj"],["obj","opt_isCompound"],["obj"],["string"],[]];[Rm,Sm,Q,yo,Ao,to,vo,uo,zo,xo,Do,Co,so,wo,qo,Bo,V.prototype.yh,V.prototype.sort,V.prototype.filter,V.prototype.nf,V.prototype.map,V.prototype.pf,V.prototype.Nh,V.prototype.limit,O.prototype.W,O.prototype.evaluate,O.prototype.ua,
|
|
724
|
+
O.prototype.Hg,Hl,Il,Kl,Jl,wm,xm,mm,Ll,nm,ym,zl,zm,xl,om,Ol,fm,pm,vl,Bm,yl,Rl,qm,Ql,Cm,Dm,tm,Pl,Al,hm,sm,Sl,Bl,ql,rm,Cl,Dl,im,Tl,um,Fl,El,im,Vl,vm,rl,Ul,sl,lm,bm,km,pl,Uo,Xo,Zo,cp,Yo,dp,rp,sp,mp,256,qp,pp,op,S.prototype.set,Nj,W,W.prototype.W,W.prototype.S,W.prototype.getMap,Y.prototype.getMap,Y.prototype.W,Y,Y.prototype.qb,Y.prototype.S,Y.prototype.select,In,Fn,Qn,Hn,Jn,On,Gn,Kn,Ln,Pn,U.prototype.uc,Mn,U,Nn,Mm.prototype.apply,Mm.prototype.call,qn,un,wn,pn,T.prototype.ua,T,on,xn,tn,vn,ln,T.prototype.re,
|
|
725
|
+
T.prototype.zg,N.prototype.wf,N.prototype.W,N.prototype.S,N.prototype.getMap,co,N.prototype.l,N.prototype.ti,N,N.prototype.Od,N.prototype.select,N.prototype.clip,N.prototype.qb,eo,Z.prototype.W,Z.prototype.vf,Z.prototype.S,Z.prototype.select,Z.prototype.getMap,Z.prototype.Hf,Z,Z.prototype.xf,Z.prototype.first,fo,Ko,Pk,Kk,Mk,Uk,Tk,Jk,Vk,No,gp].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});t.EXPORTED_FN_INFO=a})();}).call(this);
|
package/build/ee_api_js_debug.js
CHANGED
|
@@ -19628,7 +19628,7 @@ var $jscomp$templatelit$m1153655765$101 = $jscomp.createTemplateTagFirstArg(["ht
|
|
|
19628
19628
|
ee.apiclient = {};
|
|
19629
19629
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19630
19630
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19631
|
-
ee.apiclient.API_CLIENT_VERSION = "1.7.
|
|
19631
|
+
ee.apiclient.API_CLIENT_VERSION = "1.7.16";
|
|
19632
19632
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19633
19633
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19634
19634
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19933,8 +19933,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19933
19933
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19934
19934
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19935
19935
|
method = method || "POST";
|
|
19936
|
-
var headers = {"Content-Type":contentType}, version = "1.7.
|
|
19937
|
-
version === "1.7.
|
|
19936
|
+
var headers = {"Content-Type":contentType}, version = "1.7.16";
|
|
19937
|
+
version === "1.7.16" && (version = "latest");
|
|
19938
19938
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19939
19939
|
module$contents$ee$apiclient_apiclient.userAgent_ && (headers["User-Agent"] = module$contents$ee$apiclient_apiclient.userAgent_);
|
|
19940
19940
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
@@ -22597,7 +22597,7 @@ ee.Function.prototype.callOrApply = function(thisValue, args) {
|
|
|
22597
22597
|
};
|
|
22598
22598
|
ee.Function.prototype.promoteArgs = function(args) {
|
|
22599
22599
|
for (var specs = this.getSignature().args, promotedArgs = {}, known = {}, i = 0; i < specs.length; i++) {
|
|
22600
|
-
var name = specs[i].name;
|
|
22600
|
+
var name = String(specs[i].name);
|
|
22601
22601
|
if (name in args && args[name] !== void 0) {
|
|
22602
22602
|
promotedArgs[name] = ee.Function.promoter_(args[name], specs[i].type);
|
|
22603
22603
|
} else if (!specs[i].optional) {
|
|
@@ -25692,9 +25692,10 @@ goog.style.setStyle = function(element, style, opt_value) {
|
|
|
25692
25692
|
}
|
|
25693
25693
|
}
|
|
25694
25694
|
};
|
|
25695
|
+
goog.style.CSS_VARIABLE_REGEX_ = /^--.+/;
|
|
25695
25696
|
goog.style.setStyle_ = function(element, value, style) {
|
|
25696
25697
|
var propertyName = goog.style.getVendorJsStyleName_(element, style);
|
|
25697
|
-
propertyName && (element.style[propertyName] = value);
|
|
25698
|
+
propertyName && (goog.style.CSS_VARIABLE_REGEX_.test(propertyName) ? element.style.setProperty(propertyName, value) : element.style[propertyName] = value);
|
|
25698
25699
|
};
|
|
25699
25700
|
goog.style.styleNameCache_ = {};
|
|
25700
25701
|
goog.style.getVendorJsStyleName_ = function(element, style) {
|
package/build/ee_api_js_npm.js
CHANGED
|
@@ -19628,7 +19628,7 @@ var $jscomp$templatelit$m1153655765$101 = $jscomp.createTemplateTagFirstArg(["ht
|
|
|
19628
19628
|
ee.apiclient = {};
|
|
19629
19629
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19630
19630
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19631
|
-
ee.apiclient.API_CLIENT_VERSION = "1.7.
|
|
19631
|
+
ee.apiclient.API_CLIENT_VERSION = "1.7.16";
|
|
19632
19632
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19633
19633
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19634
19634
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19933,8 +19933,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19933
19933
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19934
19934
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19935
19935
|
method = method || "POST";
|
|
19936
|
-
var headers = {"Content-Type":contentType}, version = "1.7.
|
|
19937
|
-
version === "1.7.
|
|
19936
|
+
var headers = {"Content-Type":contentType}, version = "1.7.16";
|
|
19937
|
+
version === "1.7.16" && (version = "latest");
|
|
19938
19938
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19939
19939
|
module$contents$ee$apiclient_apiclient.userAgent_ && (headers["User-Agent"] = module$contents$ee$apiclient_apiclient.userAgent_);
|
|
19940
19940
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
@@ -22597,7 +22597,7 @@ ee.Function.prototype.callOrApply = function(thisValue, args) {
|
|
|
22597
22597
|
};
|
|
22598
22598
|
ee.Function.prototype.promoteArgs = function(args) {
|
|
22599
22599
|
for (var specs = this.getSignature().args, promotedArgs = {}, known = {}, i = 0; i < specs.length; i++) {
|
|
22600
|
-
var name = specs[i].name;
|
|
22600
|
+
var name = String(specs[i].name);
|
|
22601
22601
|
if (name in args && args[name] !== void 0) {
|
|
22602
22602
|
promotedArgs[name] = ee.Function.promoter_(args[name], specs[i].type);
|
|
22603
22603
|
} else if (!specs[i].optional) {
|
|
@@ -25692,9 +25692,10 @@ goog.style.setStyle = function(element, style, opt_value) {
|
|
|
25692
25692
|
}
|
|
25693
25693
|
}
|
|
25694
25694
|
};
|
|
25695
|
+
goog.style.CSS_VARIABLE_REGEX_ = /^--.+/;
|
|
25695
25696
|
goog.style.setStyle_ = function(element, value, style) {
|
|
25696
25697
|
var propertyName = goog.style.getVendorJsStyleName_(element, style);
|
|
25697
|
-
propertyName && (element.style[propertyName] = value);
|
|
25698
|
+
propertyName && (goog.style.CSS_VARIABLE_REGEX_.test(propertyName) ? element.style.setProperty(propertyName, value) : element.style[propertyName] = value);
|
|
25698
25699
|
};
|
|
25699
25700
|
goog.style.styleNameCache_ = {};
|
|
25700
25701
|
goog.style.getVendorJsStyleName_ = function(element, style) {
|
|
@@ -27490,29 +27491,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27490
27491
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27491
27492
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27492
27493
|
(function() {
|
|
27493
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction.
|
|
27494
|
-
orderedParamLists = [["name"], ["name", "
|
|
27495
|
-
"image opt_description
|
|
27496
|
-
["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description
|
|
27497
|
-
"collection opt_description opt_bucket opt_fileNamePrefix
|
|
27498
|
-
|
|
27499
|
-
|
|
27500
|
-
"
|
|
27501
|
-
"opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["
|
|
27502
|
-
["
|
|
27503
|
-
|
|
27504
|
-
|
|
27505
|
-
["
|
|
27506
|
-
[
|
|
27507
|
-
|
|
27508
|
-
|
|
27509
|
-
ee.
|
|
27510
|
-
ee.data.
|
|
27511
|
-
ee.
|
|
27512
|
-
ee.
|
|
27513
|
-
ee.
|
|
27514
|
-
ee.
|
|
27515
|
-
ee.ImageCollection, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getInfo, ee.List, ee.Number, ee.Serializer.toJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.encode, ee.Serializer.toReadableCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27494
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.map.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.table.toAsset ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toDrive ee.batch.Export.classifier.toAsset ee.batch.Export.table.toDrive ee.batch.Export.table.toFeatureView ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toDrive ee.Collection.prototype.limit ee.Collection.prototype.filterDate ee.Collection.prototype.filterMetadata ee.Collection.prototype.iterate ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.sort ee.Collection.prototype.filter ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.data.makeTableDownloadUrl ee.data.getTableDownloadId ee.data.setAssetAcl ee.data.listImages ee.data.setAssetProperties ee.data.listBuckets ee.data.newTaskId ee.data.getAssetRootQuota ee.data.getAssetRoots ee.data.setWorkloadTag ee.data.listFeatures ee.data.getMapId ee.data.getWorkloadTag ee.data.createAssetHome ee.data.getTaskStatus ee.data.setDefaultWorkloadTag ee.data.resetWorkloadTag ee.data.getTileUrl ee.data.startIngestion ee.data.createAsset ee.data.listOperations ee.data.getTaskList ee.data.createFolder ee.data.getFeatureViewTilesKey ee.data.getTaskListWithLimit ee.data.renameAsset ee.data.startTableIngestion ee.data.computeValue ee.data.copyAsset ee.data.authenticateViaOauth ee.data.cancelOperation ee.data.getThumbId ee.data.deleteAsset ee.data.getVideoThumbId ee.data.getAsset ee.data.getOperation ee.data.getAssetAcl ee.data.getFilmstripThumbId ee.data.getInfo ee.data.cancelTask ee.data.getList ee.data.listAssets ee.data.authenticate ee.data.makeThumbUrl ee.data.updateTask ee.data.authenticateViaPopup ee.data.authenticateViaPrivateKey ee.data.updateAsset ee.data.getDownloadId ee.data.startProcessing ee.data.makeDownloadUrl ee.Date ee.Deserializer.decode ee.Deserializer.fromCloudApiJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromJSON ee.Dictionary ee.initialize ee.apply ee.InitState ee.TILE_SIZE ee.reset ee.Algorithms ee.call ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMap ee.FeatureCollection ee.FeatureCollection.prototype.getDownloadURL ee.Filter.neq ee.Filter.and ee.Filter.inList ee.Filter.prototype.not ee.Filter.lte ee.Filter ee.Filter.lt ee.Filter.bounds ee.Filter.date ee.Filter.gte ee.Filter.or ee.Filter.eq ee.Filter.gt ee.Filter.metadata ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.prototype.serialize ee.Geometry.MultiPoint ee.Geometry.LinearRing ee.Geometry.Point ee.Geometry ee.Geometry.LineString ee.Geometry.prototype.toGeoJSON ee.Geometry.Rectangle ee.Geometry.Polygon ee.Geometry.prototype.toGeoJSONString ee.Geometry.MultiLineString ee.Geometry.BBox ee.Geometry.MultiPolygon ee.Image.prototype.getDownloadURL ee.Image.prototype.getMap ee.Image.prototype.expression ee.Image.cat ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.clip ee.Image.prototype.rename ee.Image.prototype.select ee.Image ee.Image.rgb ee.Image.prototype.getThumbId ee.Image.prototype.getThumbURL ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection.prototype.select ee.List ee.Number ee.Serializer.encode ee.Serializer.encodeCloudApi ee.Serializer.toJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApiPretty ee.String ee.Terrain".split(" "),
|
|
27495
|
+
orderedParamLists = [["name"], ["name", "namedArgs"], ["name", "var_args"], "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_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), "collection opt_description opt_assetId opt_maxVertices opt_priority opt_overwrite".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(" "),
|
|
27496
|
+
"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority opt_overwrite".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(" "), "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(" "),
|
|
27497
|
+
["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking 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(" "),
|
|
27498
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "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(" "), ["max", "opt_property", "opt_ascending"], ["start", "opt_end"], ["name", "operator", "value"], ["algorithm", "opt_first"], ["algorithm",
|
|
27499
|
+
"opt_dropNulls"], ["geometry"], ["property", "opt_ascending"], ["filter"], ["opt_callback"], ["legacy"], ["func", "var_args"], ["callback"], ["id"], ["params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["project", "opt_callback"], ["opt_count", "opt_callback"], ["rootId", "opt_callback"], ["opt_callback"], ["tag"], ["asset", "params", "opt_callback"], ["params", "opt_callback"], [], ["requestedId",
|
|
27500
|
+
"opt_callback"], ["taskId", "opt_callback"], ["tag"], ["opt_resetDefault"], ["id", "x", "y", "z"], ["taskId", "request", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["opt_limit", "opt_callback"], ["opt_callback"], ["path", "opt_force", "opt_callback"], ["params", "opt_callback"], ["opt_limit", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["taskId", "request", "opt_callback"], ["obj", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite",
|
|
27501
|
+
"opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["operationName", "opt_callback"], ["params", "opt_callback"], ["assetId", "opt_callback"], ["params", "opt_callback"], ["id", "opt_callback"], ["operationName", "opt_callback"], ["assetId", "opt_callback"], ["params", "opt_callback"], ["id", "opt_callback"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["clientId", "success",
|
|
27502
|
+
"opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["id"], ["taskId", "action", "opt_callback"], ["opt_success", "opt_error"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["assetId", "asset", "updateFields", "opt_callback"], ["params", "opt_callback"], ["taskId", "params", "opt_callback"], ["id"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
|
|
27503
|
+
["func", "namedArgs"], [], [], [], [], ["func", "var_args"], ["var_args"], [], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_visParams", "opt_callback"], ["args", "opt_column"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["name", "value"], ["var_args"], ["opt_leftField", "opt_rightValue",
|
|
27504
|
+
"opt_rightField", "opt_leftValue"], [], ["name", "value"], ["opt_filter"], ["name", "value"], ["geometry", "opt_errorMargin"], ["start", "opt_end"], ["name", "value"], ["var_args"], ["name", "value"], ["name", "value"], ["name", "operator", "value"], ["var_args"], ["namedArgs"], ["legacy"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"],
|
|
27505
|
+
[], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["west", "south", "east", "north"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["expression", "opt_map"], ["var_args"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["geometry"], ["var_args"], ["var_args"], ["opt_args"],
|
|
27506
|
+
["r", "g", "b"], ["params", "opt_callback"], ["params", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["args"], ["opt_visParams", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], [], ["selectors", "opt_names"], ["list"], ["number"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27507
|
+
[ee.ApiFunction.lookup, ee.ApiFunction._apply, ee.ApiFunction._call, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.table.toDrive,
|
|
27508
|
+
module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.image.toDrive, ee.Collection.prototype.limit, ee.Collection.prototype.filterDate, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.iterate, ee.Collection.prototype.map, ee.Collection.prototype.filterBounds, ee.Collection.prototype.sort, ee.Collection.prototype.filter, ee.ComputedObject.prototype.getInfo,
|
|
27509
|
+
ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.evaluate, ee.data.makeTableDownloadUrl, ee.data.getTableDownloadId, ee.data.setAssetAcl, ee.data.listImages, ee.data.setAssetProperties, ee.data.listBuckets, ee.data.newTaskId, ee.data.getAssetRootQuota, ee.data.getAssetRoots, ee.data.setWorkloadTag, ee.data.listFeatures, ee.data.getMapId, ee.data.getWorkloadTag, ee.data.createAssetHome, ee.data.getTaskStatus, ee.data.setDefaultWorkloadTag, ee.data.resetWorkloadTag,
|
|
27510
|
+
ee.data.getTileUrl, ee.data.startIngestion, ee.data.createAsset, ee.data.listOperations, ee.data.getTaskList, ee.data.createFolder, ee.data.getFeatureViewTilesKey, ee.data.getTaskListWithLimit, ee.data.renameAsset, ee.data.startTableIngestion, ee.data.computeValue, ee.data.copyAsset, ee.data.authenticateViaOauth, ee.data.cancelOperation, ee.data.getThumbId, ee.data.deleteAsset, ee.data.getVideoThumbId, ee.data.getAsset, ee.data.getOperation, ee.data.getAssetAcl, ee.data.getFilmstripThumbId, ee.data.getInfo,
|
|
27511
|
+
ee.data.cancelTask, ee.data.getList, ee.data.listAssets, ee.data.authenticate, ee.data.makeThumbUrl, ee.data.updateTask, ee.data.authenticateViaPopup, ee.data.authenticateViaPrivateKey, ee.data.updateAsset, ee.data.getDownloadId, ee.data.startProcessing, ee.data.makeDownloadUrl, ee.Date, ee.Deserializer.decode, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromJSON, ee.Dictionary, ee.initialize, ee.apply, ee.InitState, ee.TILE_SIZE, ee.reset, ee.Algorithms, ee.call,
|
|
27512
|
+
ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.Feature, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection, ee.FeatureCollection.prototype.getDownloadURL, ee.Filter.neq, ee.Filter.and, ee.Filter.inList, ee.Filter.prototype.not, ee.Filter.lte, ee.Filter, ee.Filter.lt, ee.Filter.bounds,
|
|
27513
|
+
ee.Filter.date, ee.Filter.gte, ee.Filter.or, ee.Filter.eq, ee.Filter.gt, ee.Filter.metadata, ee.Function.prototype.call, ee.Function.prototype.apply, ee.Geometry.prototype.serialize, ee.Geometry.MultiPoint, ee.Geometry.LinearRing, ee.Geometry.Point, ee.Geometry, ee.Geometry.LineString, ee.Geometry.prototype.toGeoJSON, ee.Geometry.Rectangle, ee.Geometry.Polygon, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.MultiLineString, ee.Geometry.BBox, ee.Geometry.MultiPolygon, ee.Image.prototype.getDownloadURL,
|
|
27514
|
+
ee.Image.prototype.getMap, ee.Image.prototype.expression, ee.Image.cat, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.clip, ee.Image.prototype.rename, ee.Image.prototype.select, ee.Image, ee.Image.rgb, ee.Image.prototype.getThumbId, ee.Image.prototype.getThumbURL, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection, ee.ImageCollection.prototype.getMapId,
|
|
27515
|
+
ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.select, ee.List, ee.Number, ee.Serializer.encode, ee.Serializer.encodeCloudApi, ee.Serializer.toJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.Serializer.encodeCloudApiPretty, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27516
27516
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27517
27517
|
});
|
|
27518
27518
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|
package/build/main.js
CHANGED
|
@@ -19630,7 +19630,7 @@ var $jscomp$templatelit$m1153655765$101 = $jscomp.createTemplateTagFirstArg(["ht
|
|
|
19630
19630
|
ee.apiclient = {};
|
|
19631
19631
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19632
19632
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19633
|
-
ee.apiclient.API_CLIENT_VERSION = "1.7.
|
|
19633
|
+
ee.apiclient.API_CLIENT_VERSION = "1.7.16";
|
|
19634
19634
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19635
19635
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19636
19636
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19935,8 +19935,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19935
19935
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19936
19936
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19937
19937
|
method = method || "POST";
|
|
19938
|
-
var headers = {"Content-Type":contentType}, version = "1.7.
|
|
19939
|
-
version === "1.7.
|
|
19938
|
+
var headers = {"Content-Type":contentType}, version = "1.7.16";
|
|
19939
|
+
version === "1.7.16" && (version = "latest");
|
|
19940
19940
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19941
19941
|
module$contents$ee$apiclient_apiclient.userAgent_ && (headers["User-Agent"] = module$contents$ee$apiclient_apiclient.userAgent_);
|
|
19942
19942
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
@@ -22599,7 +22599,7 @@ ee.Function.prototype.callOrApply = function(thisValue, args) {
|
|
|
22599
22599
|
};
|
|
22600
22600
|
ee.Function.prototype.promoteArgs = function(args) {
|
|
22601
22601
|
for (var specs = this.getSignature().args, promotedArgs = {}, known = {}, i = 0; i < specs.length; i++) {
|
|
22602
|
-
var name = specs[i].name;
|
|
22602
|
+
var name = String(specs[i].name);
|
|
22603
22603
|
if (name in args && args[name] !== void 0) {
|
|
22604
22604
|
promotedArgs[name] = ee.Function.promoter_(args[name], specs[i].type);
|
|
22605
22605
|
} else if (!specs[i].optional) {
|
|
@@ -25694,9 +25694,10 @@ goog.style.setStyle = function(element, style, opt_value) {
|
|
|
25694
25694
|
}
|
|
25695
25695
|
}
|
|
25696
25696
|
};
|
|
25697
|
+
goog.style.CSS_VARIABLE_REGEX_ = /^--.+/;
|
|
25697
25698
|
goog.style.setStyle_ = function(element, value, style) {
|
|
25698
25699
|
var propertyName = goog.style.getVendorJsStyleName_(element, style);
|
|
25699
|
-
propertyName && (element.style[propertyName] = value);
|
|
25700
|
+
propertyName && (goog.style.CSS_VARIABLE_REGEX_.test(propertyName) ? element.style.setProperty(propertyName, value) : element.style[propertyName] = value);
|
|
25700
25701
|
};
|
|
25701
25702
|
goog.style.styleNameCache_ = {};
|
|
25702
25703
|
goog.style.getVendorJsStyleName_ = function(element, style) {
|
|
@@ -27492,29 +27493,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27492
27493
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27493
27494
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27494
27495
|
(function() {
|
|
27495
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction.
|
|
27496
|
-
orderedParamLists = [["name"], ["name", "
|
|
27497
|
-
"image opt_description
|
|
27498
|
-
["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description
|
|
27499
|
-
"collection opt_description opt_bucket opt_fileNamePrefix
|
|
27500
|
-
|
|
27501
|
-
|
|
27502
|
-
"
|
|
27503
|
-
"opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["
|
|
27504
|
-
["
|
|
27505
|
-
|
|
27506
|
-
|
|
27507
|
-
["
|
|
27508
|
-
[
|
|
27509
|
-
|
|
27510
|
-
|
|
27511
|
-
ee.
|
|
27512
|
-
ee.data.
|
|
27513
|
-
ee.
|
|
27514
|
-
ee.
|
|
27515
|
-
ee.
|
|
27516
|
-
ee.
|
|
27517
|
-
ee.ImageCollection, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getInfo, ee.List, ee.Number, ee.Serializer.toJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.encode, ee.Serializer.toReadableCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27496
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.map.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.table.toAsset ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toDrive ee.batch.Export.classifier.toAsset ee.batch.Export.table.toDrive ee.batch.Export.table.toFeatureView ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toDrive ee.Collection.prototype.limit ee.Collection.prototype.filterDate ee.Collection.prototype.filterMetadata ee.Collection.prototype.iterate ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.sort ee.Collection.prototype.filter ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.data.makeTableDownloadUrl ee.data.getTableDownloadId ee.data.setAssetAcl ee.data.listImages ee.data.setAssetProperties ee.data.listBuckets ee.data.newTaskId ee.data.getAssetRootQuota ee.data.getAssetRoots ee.data.setWorkloadTag ee.data.listFeatures ee.data.getMapId ee.data.getWorkloadTag ee.data.createAssetHome ee.data.getTaskStatus ee.data.setDefaultWorkloadTag ee.data.resetWorkloadTag ee.data.getTileUrl ee.data.startIngestion ee.data.createAsset ee.data.listOperations ee.data.getTaskList ee.data.createFolder ee.data.getFeatureViewTilesKey ee.data.getTaskListWithLimit ee.data.renameAsset ee.data.startTableIngestion ee.data.computeValue ee.data.copyAsset ee.data.authenticateViaOauth ee.data.cancelOperation ee.data.getThumbId ee.data.deleteAsset ee.data.getVideoThumbId ee.data.getAsset ee.data.getOperation ee.data.getAssetAcl ee.data.getFilmstripThumbId ee.data.getInfo ee.data.cancelTask ee.data.getList ee.data.listAssets ee.data.authenticate ee.data.makeThumbUrl ee.data.updateTask ee.data.authenticateViaPopup ee.data.authenticateViaPrivateKey ee.data.updateAsset ee.data.getDownloadId ee.data.startProcessing ee.data.makeDownloadUrl ee.Date ee.Deserializer.decode ee.Deserializer.fromCloudApiJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromJSON ee.Dictionary ee.initialize ee.apply ee.InitState ee.TILE_SIZE ee.reset ee.Algorithms ee.call ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMap ee.FeatureCollection ee.FeatureCollection.prototype.getDownloadURL ee.Filter.neq ee.Filter.and ee.Filter.inList ee.Filter.prototype.not ee.Filter.lte ee.Filter ee.Filter.lt ee.Filter.bounds ee.Filter.date ee.Filter.gte ee.Filter.or ee.Filter.eq ee.Filter.gt ee.Filter.metadata ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.prototype.serialize ee.Geometry.MultiPoint ee.Geometry.LinearRing ee.Geometry.Point ee.Geometry ee.Geometry.LineString ee.Geometry.prototype.toGeoJSON ee.Geometry.Rectangle ee.Geometry.Polygon ee.Geometry.prototype.toGeoJSONString ee.Geometry.MultiLineString ee.Geometry.BBox ee.Geometry.MultiPolygon ee.Image.prototype.getDownloadURL ee.Image.prototype.getMap ee.Image.prototype.expression ee.Image.cat ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.clip ee.Image.prototype.rename ee.Image.prototype.select ee.Image ee.Image.rgb ee.Image.prototype.getThumbId ee.Image.prototype.getThumbURL ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection.prototype.select ee.List ee.Number ee.Serializer.encode ee.Serializer.encodeCloudApi ee.Serializer.toJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApiPretty ee.String ee.Terrain".split(" "),
|
|
27497
|
+
orderedParamLists = [["name"], ["name", "namedArgs"], ["name", "var_args"], "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_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), "collection opt_description opt_assetId opt_maxVertices opt_priority opt_overwrite".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(" "),
|
|
27498
|
+
"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority opt_overwrite".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(" "), "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(" "),
|
|
27499
|
+
["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking 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(" "),
|
|
27500
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "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(" "), ["max", "opt_property", "opt_ascending"], ["start", "opt_end"], ["name", "operator", "value"], ["algorithm", "opt_first"], ["algorithm",
|
|
27501
|
+
"opt_dropNulls"], ["geometry"], ["property", "opt_ascending"], ["filter"], ["opt_callback"], ["legacy"], ["func", "var_args"], ["callback"], ["id"], ["params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["project", "opt_callback"], ["opt_count", "opt_callback"], ["rootId", "opt_callback"], ["opt_callback"], ["tag"], ["asset", "params", "opt_callback"], ["params", "opt_callback"], [], ["requestedId",
|
|
27502
|
+
"opt_callback"], ["taskId", "opt_callback"], ["tag"], ["opt_resetDefault"], ["id", "x", "y", "z"], ["taskId", "request", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["opt_limit", "opt_callback"], ["opt_callback"], ["path", "opt_force", "opt_callback"], ["params", "opt_callback"], ["opt_limit", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["taskId", "request", "opt_callback"], ["obj", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite",
|
|
27503
|
+
"opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["operationName", "opt_callback"], ["params", "opt_callback"], ["assetId", "opt_callback"], ["params", "opt_callback"], ["id", "opt_callback"], ["operationName", "opt_callback"], ["assetId", "opt_callback"], ["params", "opt_callback"], ["id", "opt_callback"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["clientId", "success",
|
|
27504
|
+
"opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["id"], ["taskId", "action", "opt_callback"], ["opt_success", "opt_error"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["assetId", "asset", "updateFields", "opt_callback"], ["params", "opt_callback"], ["taskId", "params", "opt_callback"], ["id"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
|
|
27505
|
+
["func", "namedArgs"], [], [], [], [], ["func", "var_args"], ["var_args"], [], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_visParams", "opt_callback"], ["args", "opt_column"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["name", "value"], ["var_args"], ["opt_leftField", "opt_rightValue",
|
|
27506
|
+
"opt_rightField", "opt_leftValue"], [], ["name", "value"], ["opt_filter"], ["name", "value"], ["geometry", "opt_errorMargin"], ["start", "opt_end"], ["name", "value"], ["var_args"], ["name", "value"], ["name", "value"], ["name", "operator", "value"], ["var_args"], ["namedArgs"], ["legacy"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"],
|
|
27507
|
+
[], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["west", "south", "east", "north"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["expression", "opt_map"], ["var_args"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["geometry"], ["var_args"], ["var_args"], ["opt_args"],
|
|
27508
|
+
["r", "g", "b"], ["params", "opt_callback"], ["params", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["args"], ["opt_visParams", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], [], ["selectors", "opt_names"], ["list"], ["number"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27509
|
+
[ee.ApiFunction.lookup, ee.ApiFunction._apply, ee.ApiFunction._call, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.table.toDrive,
|
|
27510
|
+
module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.image.toDrive, ee.Collection.prototype.limit, ee.Collection.prototype.filterDate, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.iterate, ee.Collection.prototype.map, ee.Collection.prototype.filterBounds, ee.Collection.prototype.sort, ee.Collection.prototype.filter, ee.ComputedObject.prototype.getInfo,
|
|
27511
|
+
ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.evaluate, ee.data.makeTableDownloadUrl, ee.data.getTableDownloadId, ee.data.setAssetAcl, ee.data.listImages, ee.data.setAssetProperties, ee.data.listBuckets, ee.data.newTaskId, ee.data.getAssetRootQuota, ee.data.getAssetRoots, ee.data.setWorkloadTag, ee.data.listFeatures, ee.data.getMapId, ee.data.getWorkloadTag, ee.data.createAssetHome, ee.data.getTaskStatus, ee.data.setDefaultWorkloadTag, ee.data.resetWorkloadTag,
|
|
27512
|
+
ee.data.getTileUrl, ee.data.startIngestion, ee.data.createAsset, ee.data.listOperations, ee.data.getTaskList, ee.data.createFolder, ee.data.getFeatureViewTilesKey, ee.data.getTaskListWithLimit, ee.data.renameAsset, ee.data.startTableIngestion, ee.data.computeValue, ee.data.copyAsset, ee.data.authenticateViaOauth, ee.data.cancelOperation, ee.data.getThumbId, ee.data.deleteAsset, ee.data.getVideoThumbId, ee.data.getAsset, ee.data.getOperation, ee.data.getAssetAcl, ee.data.getFilmstripThumbId, ee.data.getInfo,
|
|
27513
|
+
ee.data.cancelTask, ee.data.getList, ee.data.listAssets, ee.data.authenticate, ee.data.makeThumbUrl, ee.data.updateTask, ee.data.authenticateViaPopup, ee.data.authenticateViaPrivateKey, ee.data.updateAsset, ee.data.getDownloadId, ee.data.startProcessing, ee.data.makeDownloadUrl, ee.Date, ee.Deserializer.decode, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromJSON, ee.Dictionary, ee.initialize, ee.apply, ee.InitState, ee.TILE_SIZE, ee.reset, ee.Algorithms, ee.call,
|
|
27514
|
+
ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.Feature, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection, ee.FeatureCollection.prototype.getDownloadURL, ee.Filter.neq, ee.Filter.and, ee.Filter.inList, ee.Filter.prototype.not, ee.Filter.lte, ee.Filter, ee.Filter.lt, ee.Filter.bounds,
|
|
27515
|
+
ee.Filter.date, ee.Filter.gte, ee.Filter.or, ee.Filter.eq, ee.Filter.gt, ee.Filter.metadata, ee.Function.prototype.call, ee.Function.prototype.apply, ee.Geometry.prototype.serialize, ee.Geometry.MultiPoint, ee.Geometry.LinearRing, ee.Geometry.Point, ee.Geometry, ee.Geometry.LineString, ee.Geometry.prototype.toGeoJSON, ee.Geometry.Rectangle, ee.Geometry.Polygon, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.MultiLineString, ee.Geometry.BBox, ee.Geometry.MultiPolygon, ee.Image.prototype.getDownloadURL,
|
|
27516
|
+
ee.Image.prototype.getMap, ee.Image.prototype.expression, ee.Image.cat, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.clip, ee.Image.prototype.rename, ee.Image.prototype.select, ee.Image, ee.Image.rgb, ee.Image.prototype.getThumbId, ee.Image.prototype.getThumbURL, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection, ee.ImageCollection.prototype.getMapId,
|
|
27517
|
+
ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.select, ee.List, ee.Number, ee.Serializer.encode, ee.Serializer.encodeCloudApi, ee.Serializer.toJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.Serializer.encodeCloudApiPretty, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27518
27518
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27519
27519
|
});
|
|
27520
27520
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|
package/package.json
CHANGED
package/src/apiclient.js
CHANGED
|
@@ -24,7 +24,7 @@ const {trustedResourceUrl} = goog.require('safevalues.index');
|
|
|
24
24
|
/** @namespace */
|
|
25
25
|
const apiclient = {};
|
|
26
26
|
|
|
27
|
-
const API_CLIENT_VERSION = '1.7.
|
|
27
|
+
const API_CLIENT_VERSION = '1.7.16';
|
|
28
28
|
|
|
29
29
|
exports.VERSION = apiVersion.VERSION;
|
|
30
30
|
exports.API_CLIENT_VERSION = API_CLIENT_VERSION;
|
package/src/function.js
CHANGED
|
@@ -148,7 +148,7 @@ ee.Function.prototype.promoteArgs = function(args) {
|
|
|
148
148
|
const promotedArgs = {};
|
|
149
149
|
const known = {};
|
|
150
150
|
for (let i = 0; i < specs.length; i++) {
|
|
151
|
-
const name = specs[i]['name'];
|
|
151
|
+
const name = String(specs[i]['name']);
|
|
152
152
|
if (name in args && args[name] !== undefined) {
|
|
153
153
|
promotedArgs[name] = ee.Function.promoter_(args[name], specs[i]['type']);
|
|
154
154
|
} else if (!specs[i]['optional']) {
|