Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
[[["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 2024-06-05 UTC."],[[["\u003cp\u003e\u003ccode\u003eList.map()\u003c/code\u003e applies a given algorithm to each element of a list, transforming the original list into a new one with the results.\u003c/p\u003e\n"],["\u003cp\u003eThe provided \u003ccode\u003ebaseAlgorithm\u003c/code\u003e should accept an object as input and return a modified object as output.\u003c/p\u003e\n"],["\u003cp\u003eBy enabling the optional \u003ccode\u003edropNulls\u003c/code\u003e parameter, you can filter out elements from the resulting list where the algorithm returns null.\u003c/p\u003e\n"]]],[],null,["Map an algorithm over a list. The algorithm is expected to take an Object and return an Object.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------------------|---------|\n| List.map`(baseAlgorithm, `*dropNulls*`)` | List |\n\n| Argument | Type | Details |\n|-----------------|-------------------------|------------------------------------------------------------------------------------------------------------------------|\n| this: `list` | List | |\n| `baseAlgorithm` | Algorithm | |\n| `dropNulls` | Boolean, default: false | If true, the mapped algorithm is allowed to return nulls, and the elements for which it returns nulls will be dropped. |"]]