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.Linker.reset
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Listedeki tüm öğeleri yeni bir listeyle değiştirir veya liste sağlanmazsa listedeki tüm öğeleri kaldırır.
Sıfırlama uygulandıktan sonra listedeki öğeleri döndürür.
Kullanım | İadeler |
---|
Linker.reset(list) | List<Object> |
Bağımsız Değişken | Tür | Ayrıntılar |
---|
bu: ui.data.activelist | ui.data.ActiveList | ui.data.ActiveList örneği. |
list | List<Object>, isteğe bağlı | Öğe listesi. |
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-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ereset\u003c/code\u003e method replaces all elements in a \u003ccode\u003eui.data.ActiveList\u003c/code\u003e with a new list, or removes all elements if no new list is provided.\u003c/p\u003e\n"],["\u003cp\u003eIt returns the elements present in the list after the reset operation.\u003c/p\u003e\n"],["\u003cp\u003eThe method can be called on a \u003ccode\u003eui.data.ActiveList\u003c/code\u003e instance using \u003ccode\u003eLinker.reset(list)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAn optional 'list' argument of type List can be provided to specify the new elements.\u003c/p\u003e\n"]]],["The function `reset` replaces all elements within an `ActiveList` instance with a new list. If no new list is provided, it removes all existing elements. It operates on an `ActiveList` object and accepts an optional list of elements as its argument. The function returns the `ActiveList` containing the elements after the reset operation has been completed.\n"],null,["# ui.Map.Linker.reset\n\n\u003cbr /\u003e\n\nReplaces all elements in list with a new list or, if no list is provided, removes all elements from list.\n\n\u003cbr /\u003e\n\nReturns the elements in the list after the reset is applied.\n\n| Usage | Returns |\n|--------------------------|----------------|\n| Linker.reset`(`*list*`)` | List\\\u003cObject\\\u003e |\n\n| Argument | Type | Details |\n|----------------------------|--------------------------|----------------------------------|\n| this: `ui.data.activelist` | ui.data.ActiveList | The ui.data.ActiveList instance. |\n| `list` | List\\\u003cObject\\\u003e, optional | A list of elements. |"]]