Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
Stay organized with collections
Save and categorize content based on your preferences.
An array-like container for data for use in UI components.
When 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-08 UTC."],[[["`ui.data.ActiveList` acts as a container for data used by UI components."],["Changes to an `ActiveList` directly update the associated UI component, like adding a layer to a map with `Map.layers().add()`."],["It's initialized using `ui.data.ActiveList(list)` where `list` is an optional initial data list."]]],["`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"]]