Anúncio: todos os projetos não comerciais registrados para usar o Earth Engine antes de 15 de abril de 2025 precisam verificar a qualificação não comercial para manter o acesso ao Earth Engine.
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Um rótulo de texto.
Uso
Retorna
ui.Label(value, style, targetUrl, imageUrl)
ui.Label
Argumento
Tipo
Detalhes
value
String, opcional
O texto a ser exibido. O padrão é uma string vazia.
style
Objeto, opcional
Um objeto de estilos CSS permitidos com os valores a serem definidos para este widget. Consulte a documentação de style().
targetUrl
String, opcional
O URL a ser vinculado. O padrão é uma string vazia.
imageUrl
String, opcional
URL da imagem opcional. Se fornecido, o rótulo será renderizado como uma imagem, e o texto do valor será mostrado ao passar o mouse. Somente URLs de dados e ícones carregados de gstatic.com são permitidos.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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"]]