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.
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Un'etichetta di testo.
Utilizzo
Resi
ui.Label(value, style, targetUrl, imageUrl)
ui.Label
Argomento
Tipo
Dettagli
value
Stringa, facoltativa
Il testo da visualizzare. Il valore predefinito è una stringa vuota.
style
Oggetto, facoltativo
Un oggetto di stili CSS consentiti con i relativi valori da impostare per questo widget. Consulta la documentazione di style().
targetUrl
Stringa, facoltativa
L'URL a cui collegarsi. Il valore predefinito è una stringa vuota.
imageUrl
Stringa, facoltativa
URL immagine facoltativo. Se fornita, l'etichetta verrà visualizzata come immagine e il testo del valore verrà mostrato al passaggio del mouse. Sono consentiti solo dati, URL e icone caricati da gstatic.com.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-26 UTC."],[[["Creates a text label UI element that can optionally display an image and link to a URL."],["Customization options include text value, CSS styling, target URL, and image URL."],["Image URLs are restricted to data URLs and icons from gstatic.com, displayed on hover with the text value as a tooltip."],["Default values are provided for optional arguments, resulting in an empty label with no styling or linking."]]],["The `ui.Label` function creates a text label with optional styling, a target URL, and an image. The `value` argument sets the displayed text, `style` customizes the CSS, `targetUrl` defines a link, and `imageUrl` displays an image with hover text. The text, style, URL, and image arguments are all optional and have default values. The label will only allow images from gstatic.com or data urls.\n"]]