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 2023-10-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eLayer.getShown()\u003c/code\u003e is a method that returns a boolean value indicating whether the specified layer is currently visible on the map.\u003c/p\u003e\n"],["\u003cp\u003eThe method is called on a \u003ccode\u003eui.Map.AbstractLayer\u003c/code\u003e instance and requires no arguments.\u003c/p\u003e\n"]]],["The function `Layer.getShown()` is used to determine the visibility of a layer. It takes a `ui.Map.AbstractLayer` instance as an argument, representing the layer in question. The function then returns a Boolean value, indicating whether the specified layer is currently shown (true) or hidden (false).\n"],null,["# ui.Map.Layer.getShown\n\n\u003cbr /\u003e\n\nReturns whether the layer is shown.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------|---------|\n| Layer.getShown`()` | Boolean |\n\n| Argument | Type | Details |\n|------------------------------|----------------------|------------------------------------|\n| this: `ui.map.abstractlayer` | ui.Map.AbstractLayer | The ui.Map.AbstractLayer instance. |"]]