공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ui.data.ActiveList
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
UI 구성요소에서 사용할 데이터의 배열과 유사한 컨테이너입니다.
ui.data.ActiveList (예: Map.layers())가 업데이트되면 속한 구성요소도 업데이트됩니다. 예를 들어 Map.layers().add(myLayer)는 myLayer를 지도에 레이어로 추가합니다.
사용 | 반환 값 |
---|
ui.data.ActiveList(list) | ui.data.ActiveList |
인수 | 유형 | 세부정보 |
---|
list | List<Object>, 선택사항 | 초기화할 선택적 목록입니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003e\u003ccode\u003eui.data.ActiveList\u003c/code\u003e acts as a container for data used by UI components.\u003c/p\u003e\n"],["\u003cp\u003eChanges to an \u003ccode\u003eActiveList\u003c/code\u003e directly update the associated UI component, like adding a layer to a map with \u003ccode\u003eMap.layers().add()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt's initialized using \u003ccode\u003eui.data.ActiveList(list)\u003c/code\u003e where \u003ccode\u003elist\u003c/code\u003e is an optional initial data list.\u003c/p\u003e\n"]]],["`ui.data.ActiveList` is an array-like container that, when updated, triggers updates in its associated UI component. It can be initialized with a list. Actions like adding to the `ActiveList` directly reflect in the UI. For instance, `Map.layers().add(myLayer)` adds a layer to the map. The constructor `ui.data.ActiveList(list)` creates an `ActiveList` object, and it allows the input parameter list, which is an optional list used to initialize the container.\n"],null,["# ui.data.ActiveList\n\n\u003cbr /\u003e\n\nAn array-like container for data for use in UI components.\n\n\u003cbr /\u003e\n\nWhen a ui.data.ActiveList (e.g. Map.layers()) is updated, the component it belongs to is updated as well. For example, Map.layers().add(myLayer) will add myLayer as a layer on the map.\n\n| Usage | Returns |\n|--------------------------------|--------------------|\n| `ui.data.ActiveList(`*list*`)` | ui.data.ActiveList |\n\n| Argument | Type | Details |\n|----------|--------------------------|--------------------------------------|\n| `list` | List\\\u003cObject\\\u003e, optional | An optional list to initialize with. |"]]