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.Map.Layer.getName
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Katmanın adını döndürür.
Kullanım | İadeler |
---|
Layer.getName() | Dize |
Bağımsız Değişken | Tür | Ayrıntılar |
---|
bu: ui.map.abstractlayer | ui.Map.AbstractLayer | ui.Map.AbstractLayer örneği. |
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\u003e\u003ccode\u003eLayer.getName()\u003c/code\u003e is a method that returns the name of a layer as a string.\u003c/p\u003e\n"],["\u003cp\u003eThis method is applicable to \u003ccode\u003eui.Map.AbstractLayer\u003c/code\u003e instances within the Earth Engine user interface.\u003c/p\u003e\n"],["\u003cp\u003eThere are no arguments required to be passed into the method for it to retrieve the desired information.\u003c/p\u003e\n"]]],["The `Layer.getName()` method retrieves the name of a layer. It operates on a `ui.Map.AbstractLayer` instance. This method takes no arguments and returns a String value. The only argument type is the Abstract layer instance itself which is represented by `this`. This provides a programmatic way to access the layer's identifier within a mapping application.\n"],null,["# ui.Map.Layer.getName\n\n\u003cbr /\u003e\n\nReturns the name of the layer.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------|---------|\n| Layer.getName`()` | String |\n\n| Argument | Type | Details |\n|------------------------------|----------------------|------------------------------------|\n| this: `ui.map.abstractlayer` | ui.Map.AbstractLayer | The ui.Map.AbstractLayer instance. |"]]