Annuncio: tutti i progetti non commerciali registrati per l'utilizzo di Earth Engine prima del
15 aprile 2025 devono
verificare l'idoneità non commerciale per mantenere l'accesso a Earth Engine.
ui.Select.getValue
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Restituisce il valore attualmente selezionato.
Utilizzo | Resi |
---|
Select.getValue() | Stringa |
Argomento | Tipo | Dettagli |
---|
questo: ui.select | ui.Select | L'interfaccia utente Seleziona istanza. |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eSelect.getValue()\u003c/code\u003e returns the currently selected value as a string from a \u003ccode\u003eui.Select\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThis method takes one argument, the \u003ccode\u003eui.Select\u003c/code\u003e instance itself, and is used to retrieve the user's selection.\u003c/p\u003e\n"]]],["The `Select.getValue()` method retrieves the currently selected value from a `ui.Select` instance. It takes the `ui.Select` instance as an argument (referred to as `this`) and returns the selected value as a String. No other arguments are required. The method provides a way to programmatically access the user's choice from the select element.\n"],null,["# ui.Select.getValue\n\n\u003cbr /\u003e\n\nReturns the currently selected value.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------|---------|\n| Select.getValue`()` | String |\n\n| Argument | Type | Details |\n|-------------------|-----------|-------------------------|\n| this: `ui.select` | ui.Select | The ui.Select instance. |"]]