Earth Engine has introduced
noncommercial quota tiers to safeguard shared compute resources and ensure reliable performance for everyone. Noncommercial projects use the Community Tier by default, though you can change a project's tier at any time.
ui.Map.Layer.getVisParams
Stay organized with collections
Save and categorize content based on your preferences.
Returns the layer's visualization parameters.
| Usage | Returns | Layer.getVisParams() | FeatureVisualizationParameters|ImageVisualizationParameters |
| Argument | Type | Details | this: ui.map.layer | ui.Map.Layer | The ui.Map.Layer instance. |
[null,null,["Last updated 2023-10-06 UTC."],[],["The `Layer.getVisParams()` method retrieves the visualization parameters of a layer. It returns either `FeatureVisualizationParameters` or `ImageVisualizationParameters`, depending on the layer type. The method is called on a `ui.Map.Layer` instance, which represents a layer on a map. It requires no arguments other than the layer object. The `ui.Map.Layer` object is passed using `this`.\n"]]