お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ui.Map.Linker.forEach
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
各要素を反復処理し、指定されたコールバックを呼び出します。コールバックは各要素について、callback(element, index) のような形式で呼び出されます。
用途 | 戻り値 |
---|
Linker.forEach(callback) | |
引数 | タイプ | 詳細 |
---|
これ: ui.data.activelist | ui.data.ActiveList | ui.data.ActiveList インスタンス。 |
callback | 関数 | |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eThe \u003ccode\u003eforEach\u003c/code\u003e method iterates through each element of a \u003ccode\u003eui.data.ActiveList\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eFor each element, it executes a provided callback function with the element and its index as arguments.\u003c/p\u003e\n"],["\u003cp\u003eThe method is invoked on a \u003ccode\u003eui.data.ActiveList\u003c/code\u003e instance (referred to as 'this' in the context of the callback).\u003c/p\u003e\n"],["\u003cp\u003eIt does not return any specific value (indicated by the empty 'Returns' column).\u003c/p\u003e\n"]]],["The `forEach` method iterates through each element in a `ui.data.ActiveList` instance. For every element, it executes a provided callback function. This callback receives two arguments: the current element and its index. No value is returned by `forEach`. The method requires a callback function as its argument and operates on the `ui.data.ActiveList` instance.\n"],null,["# ui.Map.Linker.forEach\n\n\u003cbr /\u003e\n\nIterates over each element, calling the provided callback. The callback is called for each element like: callback(element, index).\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------|---------|\n| Linker.forEach`(callback)` | |\n\n| Argument | Type | Details |\n|----------------------------|--------------------|----------------------------------|\n| this: `ui.data.activelist` | ui.data.ActiveList | The ui.data.ActiveList instance. |\n| `callback` | Function | |"]]