@google/earthengine 0.1.413 → 0.1.415
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 +177 -170
- package/build/ee_api_js.js +273 -273
- package/build/ee_api_js_debug.js +154 -147
- package/build/ee_api_js_npm.js +177 -170
- package/build/main.js +177 -170
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/examples/UserInterface/PopulationExplorer.js +9 -3
package/package.json
CHANGED
package/src/apiclient.js
CHANGED
|
@@ -24,7 +24,7 @@ const {trustedResourceUrl} = goog.require('safevalues');
|
|
|
24
24
|
/** @namespace */
|
|
25
25
|
const apiclient = {};
|
|
26
26
|
|
|
27
|
-
const API_CLIENT_VERSION = '0.1.
|
|
27
|
+
const API_CLIENT_VERSION = '0.1.415';
|
|
28
28
|
|
|
29
29
|
exports.VERSION = apiVersion.VERSION;
|
|
30
30
|
exports.API_CLIENT_VERSION = API_CLIENT_VERSION;
|
|
@@ -101,9 +101,15 @@ function updateOverlay() {
|
|
|
101
101
|
|
|
102
102
|
// Updates the chart using the currently-selected charting function,
|
|
103
103
|
function updateChart() {
|
|
104
|
-
var
|
|
105
|
-
|
|
106
|
-
|
|
104
|
+
var selectionSize = getSelectedCountries().size();
|
|
105
|
+
selectionSize.evaluate(function(size) {
|
|
106
|
+
if (!size) {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
var chartBuilder = chartTypeToggleButton.value;
|
|
110
|
+
var chart = chartBuilder(getSelectedCountries());
|
|
111
|
+
resultsPanel.clear().add(chart).add(buttonPanel);
|
|
112
|
+
});
|
|
107
113
|
}
|
|
108
114
|
|
|
109
115
|
// Clears the set of selected points and resets the overlay and results
|