Anuncio: Todos los proyectos no comerciales registrados para usar Earth Engine antes del
15 de abril de 2025 deben
verificar su elegibilidad no comercial para mantener el acceso a Earth Engine.
ui.Select.getValue
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Devuelve el valor seleccionado actualmente.
Uso | Muestra |
---|
Select.getValue() | String |
Argumento | Tipo | Detalles |
---|
esta: ui.select | ui.Select | Es la instancia de ui.Select. |
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-26 (UTC)
[null,null,["Última actualización: 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. |"]]