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.url.get
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Restituisce il valore della chiave specificata dal frammento dell'URL.
Utilizzo | Resi |
---|
ui.url.get(key, default) | Boolean|Number|Object|String |
Argomento | Tipo | Dettagli |
---|
key | Stringa | Il nome del parametro da leggere. |
default | Valore booleano|Numero|Stringa, facoltativo | valore predefinito facoltativo da restituire se non è presente alcun valore. |
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\u003eRetrieves a specific value from the URL fragment using the provided key.\u003c/p\u003e\n"],["\u003cp\u003eReturns the value associated with the key, which can be a boolean, number, object, or string.\u003c/p\u003e\n"],["\u003cp\u003eIf the key is not found in the URL fragment, an optional default value can be returned.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes the \u003ccode\u003eui.url.get(key, default)\u003c/code\u003e function for accessing the fragment value.\u003c/p\u003e\n"]]],[],null,["# ui.url.get\n\n\u003cbr /\u003e\n\nReturns the value of the given key from the URL fragment.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------------|---------------------------------|\n| `ui.url.get(key, `*default*`)` | Boolean\\|Number\\|Object\\|String |\n\n| Argument | Type | Details |\n|-----------|-----------------------------------|----------------------------------------------------------|\n| `key` | String | The name of the parameter to read. |\n| `default` | Boolean\\|Number\\|String, optional | optional default value to return if no value is present. |"]]