ui.Map.Layer.getVisParams
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. |
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 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["This function returns the visualization parameters of a specified map layer."],["The returned parameters will either be FeatureVisualizationParameters or ImageVisualizationParameters, depending on the layer type."],["It is called on a ui.Map.Layer object using the `getVisParams()` method."]]],["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"]]