@google/earthengine 1.7.9 → 1.7.10
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 +34 -34
- package/build/ee_api_js.js +120 -120
- package/build/ee_api_js_debug.js +12 -12
- package/build/ee_api_js_npm.js +34 -34
- package/build/main.js +34 -34
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/floattileoverlay.js +1 -1
- package/src/layers/abstractoverlay.js +3 -3
- package/src/maptilemanager.js +3 -3
package/build/main.js
CHANGED
|
@@ -17067,14 +17067,14 @@ module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanit
|
|
|
17067
17067
|
["LINK", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY, conditions:new Map([["rel", new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])], ["SOURCE", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}],
|
|
17068
17068
|
["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])], ["IMG", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}], ["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])],
|
|
17069
17069
|
["VIDEO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])], ["AUDIO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])]], module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES =
|
|
17070
|
-
"title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked cite color cols colspan controls controlslist coords crossorigin datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden inert ismap label lang loop max maxlength media minlength min multiple muted nonce open playsinline placeholder
|
|
17070
|
+
"title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked cite color cols colspan controls controlslist coords crossorigin datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden inert ismap label lang loop max maxlength media minlength min multiple muted nonce open playsinline placeholder preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type usemap valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "),
|
|
17071
17071
|
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES = [["dir", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
17072
17072
|
return new Map([["dir", new Set(["auto", "ltr", "rtl"])]]);
|
|
17073
17073
|
})}], ["async", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
17074
17074
|
return new Map([["async", new Set(["async"])]]);
|
|
17075
17075
|
})}], ["loading", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
17076
17076
|
return new Map([["loading", new Set(["eager", "lazy"])]]);
|
|
17077
|
-
})}], ["target", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
17077
|
+
})}], ["poster", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}], ["target", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
17078
17078
|
return new Map([["target", new Set(["_self", "_blank"])]]);
|
|
17079
17079
|
})}]];
|
|
17080
17080
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES),
|
|
@@ -19579,7 +19579,7 @@ var $jscomp$templatelit$m1153655765$101 = $jscomp.createTemplateTagFirstArg(["ht
|
|
|
19579
19579
|
ee.apiclient = {};
|
|
19580
19580
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19581
19581
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19582
|
-
ee.apiclient.API_CLIENT_VERSION = "1.7.
|
|
19582
|
+
ee.apiclient.API_CLIENT_VERSION = "1.7.10";
|
|
19583
19583
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19584
19584
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19585
19585
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19884,8 +19884,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19884
19884
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19885
19885
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19886
19886
|
method = method || "POST";
|
|
19887
|
-
var headers = {"Content-Type":contentType}, version = "1.7.
|
|
19888
|
-
version === "1.7.
|
|
19887
|
+
var headers = {"Content-Type":contentType}, version = "1.7.10";
|
|
19888
|
+
version === "1.7.10" && (version = "latest");
|
|
19889
19889
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19890
19890
|
module$contents$ee$apiclient_apiclient.userAgent_ && (headers["User-Agent"] = module$contents$ee$apiclient_apiclient.userAgent_);
|
|
19891
19891
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
@@ -25103,7 +25103,7 @@ ee.FloatTileOverlay.prototype.getAllFloatTileDivs = function() {
|
|
|
25103
25103
|
return this.floatTileDivs_;
|
|
25104
25104
|
};
|
|
25105
25105
|
ee.FloatTileOverlay.prototype.getLoadedFloatTilesCount = function() {
|
|
25106
|
-
return this.floatTiles_.
|
|
25106
|
+
return this.floatTiles_.size;
|
|
25107
25107
|
};
|
|
25108
25108
|
ee.FloatTileOverlay.prototype.dispatchTileEvent_ = function() {
|
|
25109
25109
|
this.dispatchEvent(new ee_root.third_party.earthengine_api.javascript.abstractoverlay.TileEvent(this.tilesLoading.length));
|
|
@@ -26173,7 +26173,7 @@ ee.layers.AbstractOverlay.prototype.setOpacity = function(opacity) {
|
|
|
26173
26173
|
this.opacity = opacity;
|
|
26174
26174
|
this.tilesById.forEach(function(tile) {
|
|
26175
26175
|
goog.style.setOpacity(tile.div, this.opacity);
|
|
26176
|
-
}
|
|
26176
|
+
}.bind(this));
|
|
26177
26177
|
};
|
|
26178
26178
|
ee.layers.AbstractOverlay.prototype.getTilesById = function() {
|
|
26179
26179
|
return this.tilesById;
|
|
@@ -26199,7 +26199,7 @@ ee.layers.AbstractOverlay.prototype.getTile = function(coord, zoom, ownerDocumen
|
|
|
26199
26199
|
};
|
|
26200
26200
|
ee.layers.AbstractOverlay.prototype.releaseTile = function(tileDiv) {
|
|
26201
26201
|
var tile = this.tilesById.get(tileDiv.id);
|
|
26202
|
-
this.tilesById.
|
|
26202
|
+
this.tilesById.delete(tileDiv.id);
|
|
26203
26203
|
tile && (tile.abort(), module$contents$goog$dispose_dispose(tile));
|
|
26204
26204
|
};
|
|
26205
26205
|
ee.layers.AbstractOverlay.prototype.registerStatusChangeListener_ = function(tile) {
|
|
@@ -26236,7 +26236,7 @@ ee.layers.AbstractOverlay.prototype.disposeInternal = function() {
|
|
|
26236
26236
|
this.tileSource = this.handler = null;
|
|
26237
26237
|
};
|
|
26238
26238
|
ee.layers.AbstractOverlay.prototype.getTileCountForStatus_ = function(status) {
|
|
26239
|
-
return module$contents$goog$array_count(this.tilesById.
|
|
26239
|
+
return module$contents$goog$array_count([].concat((0,$jscomp.arrayFromIterable)(this.tilesById.values())), function(tile) {
|
|
26240
26240
|
return tile.getStatus() == status;
|
|
26241
26241
|
});
|
|
26242
26242
|
};
|
|
@@ -27003,7 +27003,7 @@ ee.MapTileManager = function() {
|
|
|
27003
27003
|
};
|
|
27004
27004
|
$jscomp.inherits(ee.MapTileManager, goog.events.EventTarget);
|
|
27005
27005
|
ee.MapTileManager.prototype.getOutstandingCount = function() {
|
|
27006
|
-
return this.requests_.
|
|
27006
|
+
return this.requests_.size;
|
|
27007
27007
|
};
|
|
27008
27008
|
ee.MapTileManager.prototype.send = function(id, url, opt_priority, opt_imageCompletedCallback, opt_maxRetries) {
|
|
27009
27009
|
if (this.requests_.get(id)) {
|
|
@@ -27029,7 +27029,7 @@ ee.MapTileManager.prototype.handleAvailableToken_ = function(request, token) {
|
|
|
27029
27029
|
}
|
|
27030
27030
|
};
|
|
27031
27031
|
ee.MapTileManager.prototype.releaseRequest_ = function(request) {
|
|
27032
|
-
this.requests_.
|
|
27032
|
+
this.requests_.delete(request.getId());
|
|
27033
27033
|
request.getImageLoader() && (this.releaseObject_(request.getToken()), request.getImageLoader().dispose());
|
|
27034
27034
|
request.fireImageEventCallback();
|
|
27035
27035
|
};
|
|
@@ -27044,7 +27044,7 @@ ee.MapTileManager.prototype.disposeInternal = function() {
|
|
|
27044
27044
|
this.tokenPool_.dispose();
|
|
27045
27045
|
this.tokenPool_ = null;
|
|
27046
27046
|
var requests = this.requests_;
|
|
27047
|
-
module$contents$goog$array_forEach(requests.
|
|
27047
|
+
module$contents$goog$array_forEach([].concat((0,$jscomp.arrayFromIterable)(requests.values())), function(value) {
|
|
27048
27048
|
value.dispose();
|
|
27049
27049
|
});
|
|
27050
27050
|
requests.clear();
|
|
@@ -27435,28 +27435,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27435
27435
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27436
27436
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27437
27437
|
(function() {
|
|
27438
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.
|
|
27439
|
-
orderedParamLists = [["name", "namedArgs"], ["name", "
|
|
27440
|
-
"
|
|
27441
|
-
"
|
|
27442
|
-
"
|
|
27443
|
-
|
|
27444
|
-
["
|
|
27445
|
-
["
|
|
27446
|
-
|
|
27447
|
-
["
|
|
27448
|
-
["name", "value"], ["
|
|
27449
|
-
"
|
|
27450
|
-
["
|
|
27451
|
-
[ee.ApiFunction._apply, ee.ApiFunction.
|
|
27452
|
-
module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.
|
|
27453
|
-
ee.ComputedObject.prototype.
|
|
27454
|
-
ee.data.
|
|
27455
|
-
ee.data.
|
|
27456
|
-
ee.
|
|
27457
|
-
ee.Filter, ee.Filter.
|
|
27458
|
-
ee.Image.prototype.
|
|
27459
|
-
ee.ImageCollection.prototype.
|
|
27438
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.image.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.table.toFeatureView ee.batch.Export.table.toBigQuery ee.batch.Export.classifier.toAsset ee.batch.Export.table.toAsset ee.batch.Export.video.toDrive ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toDrive ee.batch.Export.video.toCloudStorage ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterDate ee.Collection.prototype.map ee.Collection.prototype.filter ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.iterate ee.Collection.prototype.filterBounds ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.data.startProcessing ee.data.authenticate ee.data.updateAsset ee.data.authenticateViaPopup ee.data.makeDownloadUrl ee.data.getTableDownloadId ee.data.setAssetAcl ee.data.authenticateViaPrivateKey ee.data.listImages ee.data.setAssetProperties ee.data.makeTableDownloadUrl ee.data.listBuckets ee.data.getAssetRootQuota ee.data.newTaskId ee.data.getWorkloadTag ee.data.startIngestion ee.data.getTaskStatus ee.data.getMapId ee.data.setWorkloadTag ee.data.getAssetRoots ee.data.createAsset ee.data.createAssetHome ee.data.setDefaultWorkloadTag ee.data.computeValue ee.data.getTileUrl ee.data.createFolder ee.data.resetWorkloadTag ee.data.authenticateViaOauth ee.data.getTaskList ee.data.listOperations ee.data.renameAsset ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.getFeatureViewTilesKey ee.data.copyAsset ee.data.cancelOperation ee.data.listFeatures ee.data.deleteAsset ee.data.getAsset ee.data.getAssetAcl ee.data.getFilmstripThumbId ee.data.getInfo ee.data.updateTask ee.data.getThumbId ee.data.getVideoThumbId ee.data.cancelTask ee.data.getList ee.data.listAssets ee.data.getOperation ee.data.getDownloadId ee.data.makeThumbUrl ee.Date ee.Deserializer.decode ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Dictionary ee.reset ee.Algorithms ee.InitState ee.call ee.initialize ee.TILE_SIZE ee.apply ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection ee.Filter.eq ee.Filter.metadata ee.Filter.gt ee.Filter.neq ee.Filter.lte ee.Filter.or ee.Filter.and ee.Filter.lt ee.Filter.prototype.not ee.Filter ee.Filter.gte ee.Filter.inList ee.Filter.bounds ee.Filter.date ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.MultiPolygon ee.Geometry.Point ee.Geometry.BBox ee.Geometry.Rectangle ee.Geometry.MultiPoint ee.Geometry.prototype.toGeoJSONString ee.Geometry.prototype.toGeoJSON ee.Geometry.LineString ee.Geometry ee.Geometry.LinearRing ee.Geometry.Polygon ee.Geometry.prototype.serialize ee.Geometry.MultiLineString ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.rgb ee.Image.cat ee.Image.prototype.clip ee.Image.prototype.expression ee.Image.prototype.getThumbId ee.Image.prototype.getThumbURL ee.Image.prototype.getMap ee.Image.prototype.rename ee.Image.prototype.getDownloadURL ee.Image ee.Image.prototype.select ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.first ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getInfo ee.ImageCollection ee.ImageCollection.prototype.linkCollection ee.List ee.Number ee.Serializer.encodeCloudApiPretty ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.Serializer.toCloudApiJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode ee.String ee.Terrain".split(" "),
|
|
27439
|
+
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "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_bucket 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(" "),
|
|
27440
|
+
"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(" "), "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_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "),
|
|
27441
|
+
"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), ["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_assetId opt_maxVertices 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(" "), "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(" "),
|
|
27442
|
+
"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat 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(" "), ["name", "operator", "value"], ["start", "opt_end"], ["algorithm", "opt_dropNulls"], ["filter"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["algorithm",
|
|
27443
|
+
"opt_first"], ["geometry"], ["opt_callback"], ["callback"], ["legacy"], ["func", "var_args"], ["taskId", "params", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["assetId", "asset", "updateFields", "opt_callback"], ["opt_success", "opt_error"], ["id"], ["params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["parent", "opt_params", "opt_callback"],
|
|
27444
|
+
["assetId", "properties", "opt_callback"], ["id"], ["project", "opt_callback"], ["rootId", "opt_callback"], ["opt_count", "opt_callback"], [], ["taskId", "request", "opt_callback"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["tag"], ["opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["requestedId", "opt_callback"], ["tag"], ["obj", "opt_callback"], ["id", "x", "y", "z"], ["path", "opt_force", "opt_callback"], ["opt_resetDefault"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),
|
|
27445
|
+
["opt_callback"], ["opt_limit", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["opt_limit", "opt_callback"], ["taskId", "request", "opt_callback"], ["params", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["operationName", "opt_callback"], ["asset", "params", "opt_callback"], ["assetId", "opt_callback"], ["id", "opt_callback"], ["assetId", "opt_callback"], ["params", "opt_callback"], ["id", "opt_callback"], ["taskId", "action", "opt_callback"],
|
|
27446
|
+
["params", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["operationName", "opt_callback"], ["params", "opt_callback"], ["id"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], [], [], ["func", "var_args"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), [], ["func", "namedArgs"], ["var_args"], [], ["opt_visParams", "opt_callback"],
|
|
27447
|
+
["opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["args", "opt_column"], ["name", "value"], ["name", "operator", "value"], ["name", "value"], ["name", "value"], ["name", "value"], ["var_args"], ["var_args"], ["name", "value"], [], ["opt_filter"],
|
|
27448
|
+
["name", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["geometry", "opt_errorMargin"], ["start", "opt_end"], ["namedArgs"], ["var_args"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj"], ["west", "south", "east", "north"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], [], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"],
|
|
27449
|
+
["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["r", "g", "b"], ["var_args"], ["geometry"], ["expression", "opt_map"], ["params", "opt_callback"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["var_args"], ["params", "opt_callback"], ["opt_args"], ["var_args"], ["params", "opt_callback"],
|
|
27450
|
+
["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], [], ["selectors", "opt_names"], ["opt_callback"], ["args"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["string"], []];
|
|
27451
|
+
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.table.toAsset,
|
|
27452
|
+
module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.video.toCloudStorage, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterDate, ee.Collection.prototype.map, ee.Collection.prototype.filter, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.iterate, ee.Collection.prototype.filterBounds, ee.ComputedObject.prototype.getInfo,
|
|
27453
|
+
ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.aside, ee.data.startProcessing, ee.data.authenticate, ee.data.updateAsset, ee.data.authenticateViaPopup, ee.data.makeDownloadUrl, ee.data.getTableDownloadId, ee.data.setAssetAcl, ee.data.authenticateViaPrivateKey, ee.data.listImages, ee.data.setAssetProperties, ee.data.makeTableDownloadUrl, ee.data.listBuckets, ee.data.getAssetRootQuota, ee.data.newTaskId, ee.data.getWorkloadTag, ee.data.startIngestion,
|
|
27454
|
+
ee.data.getTaskStatus, ee.data.getMapId, ee.data.setWorkloadTag, ee.data.getAssetRoots, ee.data.createAsset, ee.data.createAssetHome, ee.data.setDefaultWorkloadTag, ee.data.computeValue, ee.data.getTileUrl, ee.data.createFolder, ee.data.resetWorkloadTag, ee.data.authenticateViaOauth, ee.data.getTaskList, ee.data.listOperations, ee.data.renameAsset, ee.data.getTaskListWithLimit, ee.data.startTableIngestion, ee.data.getFeatureViewTilesKey, ee.data.copyAsset, ee.data.cancelOperation, ee.data.listFeatures,
|
|
27455
|
+
ee.data.deleteAsset, ee.data.getAsset, ee.data.getAssetAcl, ee.data.getFilmstripThumbId, ee.data.getInfo, ee.data.updateTask, ee.data.getThumbId, ee.data.getVideoThumbId, ee.data.cancelTask, ee.data.getList, ee.data.listAssets, ee.data.getOperation, ee.data.getDownloadId, ee.data.makeThumbUrl, ee.Date, ee.Deserializer.decode, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Dictionary, ee.reset, ee.Algorithms, ee.InitState, ee.call, ee.initialize, ee.TILE_SIZE,
|
|
27456
|
+
ee.apply, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getMap, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection, ee.Filter.eq, ee.Filter.metadata, ee.Filter.gt, ee.Filter.neq, ee.Filter.lte, ee.Filter.or, ee.Filter.and,
|
|
27457
|
+
ee.Filter.lt, ee.Filter.prototype.not, ee.Filter, ee.Filter.gte, ee.Filter.inList, ee.Filter.bounds, ee.Filter.date, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.MultiPolygon, ee.Geometry.Point, ee.Geometry.BBox, ee.Geometry.Rectangle, ee.Geometry.MultiPoint, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.prototype.toGeoJSON, ee.Geometry.LineString, ee.Geometry, ee.Geometry.LinearRing, ee.Geometry.Polygon, ee.Geometry.prototype.serialize, ee.Geometry.MultiLineString,
|
|
27458
|
+
ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.rgb, ee.Image.cat, ee.Image.prototype.clip, ee.Image.prototype.expression, ee.Image.prototype.getThumbId, ee.Image.prototype.getThumbURL, ee.Image.prototype.getMap, ee.Image.prototype.rename, ee.Image.prototype.getDownloadURL, ee.Image, ee.Image.prototype.select, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getMap,
|
|
27459
|
+
ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.getInfo, ee.ImageCollection, ee.ImageCollection.prototype.linkCollection, ee.List, ee.Number, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encode, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27460
27460
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27461
27461
|
});
|
|
27462
27462
|
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.10';
|
|
28
28
|
|
|
29
29
|
exports.VERSION = apiVersion.VERSION;
|
|
30
30
|
exports.API_CLIENT_VERSION = API_CLIENT_VERSION;
|
package/src/floattileoverlay.js
CHANGED
|
@@ -135,7 +135,7 @@ ee.layers.AbstractOverlay = class extends goog.events.EventTarget {
|
|
|
135
135
|
this.opacity = opacity;
|
|
136
136
|
this.tilesById.forEach(function(tile) {
|
|
137
137
|
goog.style.setOpacity(tile.div, this.opacity);
|
|
138
|
-
}
|
|
138
|
+
}.bind(this));
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
/**
|
|
@@ -201,7 +201,7 @@ ee.layers.AbstractOverlay = class extends goog.events.EventTarget {
|
|
|
201
201
|
*/
|
|
202
202
|
releaseTile(tileDiv) {
|
|
203
203
|
var tile = this.tilesById.get(tileDiv.id);
|
|
204
|
-
this.tilesById.
|
|
204
|
+
this.tilesById.delete(tileDiv.id);
|
|
205
205
|
if (tile) {
|
|
206
206
|
tile.abort();
|
|
207
207
|
goog.dispose(tile);
|
|
@@ -283,7 +283,7 @@ ee.layers.AbstractOverlay = class extends goog.events.EventTarget {
|
|
|
283
283
|
* @private
|
|
284
284
|
*/
|
|
285
285
|
getTileCountForStatus_(status) {
|
|
286
|
-
return goog.array.count(this.tilesById.
|
|
286
|
+
return goog.array.count([...this.tilesById.values()], function(tile) {
|
|
287
287
|
return tile.getStatus() == status;
|
|
288
288
|
});
|
|
289
289
|
}
|
package/src/maptilemanager.js
CHANGED
|
@@ -74,7 +74,7 @@ ee.MapTileManager = class extends goog.events.EventTarget {
|
|
|
74
74
|
* @return {number} The number of requests in flight or pending send.
|
|
75
75
|
*/
|
|
76
76
|
getOutstandingCount() {
|
|
77
|
-
return this.requests_.
|
|
77
|
+
return this.requests_.size;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
/**
|
|
@@ -160,7 +160,7 @@ ee.MapTileManager = class extends goog.events.EventTarget {
|
|
|
160
160
|
* @private
|
|
161
161
|
*/
|
|
162
162
|
releaseRequest_(request) {
|
|
163
|
-
this.requests_.
|
|
163
|
+
this.requests_.delete(request.getId());
|
|
164
164
|
if (request.getImageLoader()) {
|
|
165
165
|
this.releaseObject_(request.getToken());
|
|
166
166
|
request.getImageLoader().dispose();
|
|
@@ -189,7 +189,7 @@ ee.MapTileManager = class extends goog.events.EventTarget {
|
|
|
189
189
|
|
|
190
190
|
// Call dispose on each request.
|
|
191
191
|
var requests = this.requests_;
|
|
192
|
-
goog.array.forEach(requests.
|
|
192
|
+
goog.array.forEach([...requests.values()], function(value) {
|
|
193
193
|
value.dispose();
|
|
194
194
|
});
|
|
195
195
|
requests.clear();
|