Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ui.data.ActiveList.getJsArray
Stay organized with collections
Save and categorize content based on your preferences.
Returns the list as a JS array.
Usage | Returns | ActiveList.getJsArray() | List<Object> |
Argument | Type | Details | this: ui.data.activelist | ui.data.ActiveList | The ui.data.ActiveList instance. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-08 UTC.
[null,null,["Last updated 2025-07-08 UTC."],[[["\u003cp\u003eThe \u003ccode\u003egetJsArray()\u003c/code\u003e method provides a way to access the elements of a \u003ccode\u003eui.data.ActiveList\u003c/code\u003e as a standard JavaScript array.\u003c/p\u003e\n"],["\u003cp\u003eIt takes no arguments other than the \u003ccode\u003eActiveList\u003c/code\u003e instance itself (using \u003ccode\u003ethis\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eCalling \u003ccode\u003egetJsArray()\u003c/code\u003e on an \u003ccode\u003eActiveList\u003c/code\u003e object returns a JavaScript array containing the list items.\u003c/p\u003e\n"]]],[],null,["# ui.data.ActiveList.getJsArray\n\n\u003cbr /\u003e\n\nReturns the list as a JS array.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------|----------------|\n| ActiveList.getJsArray`()` | List\\\u003cObject\\\u003e |\n\n| Argument | Type | Details |\n|----------------------------|--------------------|----------------------------------|\n| this: `ui.data.activelist` | ui.data.ActiveList | The ui.data.ActiveList instance. |"]]