Duyuru:
15 Nisan 2025'ten önce Earth Engine'i kullanmak için kaydedilen tüm ticari olmayan projelerin Earth Engine erişimini sürdürmek için
ticari olmayan uygunluğu doğrulaması gerekir.
ui.Label.setImageUrl
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Etiketi, değer metni yerine oluşturulacak bir resme ayarlar.
Bu etiketi döndürür.
Kullanım | İadeler |
---|
Label.setImageUrl(imageUrl) | ui.Label |
Bağımsız Değişken | Tür | Ayrıntılar |
---|
bu: ui.label | ui.Label | ui.Label örneği. |
imageUrl | Dize | Resmin URL'si. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[[["\u003cp\u003eThe \u003ccode\u003esetImageUrl\u003c/code\u003e method allows you to display an image instead of text within a UI label.\u003c/p\u003e\n"],["\u003cp\u003eThis method accepts an image URL as an argument and applies it to the specified UI label, returning the modified label instance for further use.\u003c/p\u003e\n"]]],[],null,["# ui.Label.setImageUrl\n\n\u003cbr /\u003e\n\nSets the label to an image, which will render instead of the value text.\n\n\u003cbr /\u003e\n\nReturns this label.\n\n| Usage | Returns |\n|-------------------------------|----------|\n| Label.setImageUrl`(imageUrl)` | ui.Label |\n\n| Argument | Type | Details |\n|------------------|----------|------------------------|\n| this: `ui.label` | ui.Label | The ui.Label instance. |\n| `imageUrl` | String | The url of the image. |"]]