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.
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Es una etiqueta de texto.
Uso
Muestra
ui.Label(value, style, targetUrl, imageUrl)
ui.Label
Argumento
Tipo
Detalles
value
Cadena, opcional
Es el texto que se mostrará. El valor predeterminado es una cadena vacía.
style
Objeto, opcional
Objeto de los estilos CSS permitidos con sus valores que se establecerán para este widget. Consulta la documentación de style().
targetUrl
Cadena, opcional
Es la URL a la que se vinculará. El valor predeterminado es una cadena vacía.
imageUrl
Cadena, opcional
Es la URL de la imagen opcional. Si se proporciona, la etiqueta se renderizará como una imagen y el texto del valor se mostrará cuando se coloque el cursor sobre ella. Solo se permiten datos, URLs y los íconos cargados desde gstatic.com.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 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"]]