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\u003eThe \u003ccode\u003egetOpacity()\u003c/code\u003e method returns the Cloud Storage layer's opacity as a number between 0 and 1.\u003c/p\u003e\n"],["\u003cp\u003eThis method can be used with the \u003ccode\u003eui.map.abstractlayer\u003c/code\u003e instance to retrieve its opacity level.\u003c/p\u003e\n"]]],["The `CloudStorageLayer.getOpacity()` method retrieves the opacity of a layer. It returns a numerical value between 0 and 1, representing the layer's opacity. The method operates on a `ui.Map.AbstractLayer` instance, which is the target layer whose opacity is being queried. No arguments are passed besides the target instance itself.\n"],null,["# ui.Map.CloudStorageLayer.getOpacity\n\n\u003cbr /\u003e\n\nReturns the layer's opacity represented as a number between 0 and 1.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------|---------|\n| CloudStorageLayer.getOpacity`()` | Number |\n\n| Argument | Type | Details |\n|------------------------------|----------------------|------------------------------------|\n| this: `ui.map.abstractlayer` | ui.Map.AbstractLayer | The ui.Map.AbstractLayer instance. |"]]