ui.Map.FeatureViewLayer
A layer generated from a FeatureView asset for display on a ui.Map.
Usage | Returns |
---|
ui.Map.FeatureViewLayer(assetId, visParams, name, shown, opacity) | ui.Map.FeatureViewLayer |
Argument | Type | Details |
---|
assetId | String | The asset ID for the FeatureView. |
visParams | Object, optional | The visualization parameters for this layer. |
name | String, optional | The name of the layer, which appears in the list of layers and when inspecting this layer. Defaults to the asset ID. |
shown | Boolean, optional | Whether the layer is initially shown on the map. Defaults to true. |
opacity | Number, optional | The layer's opacity represented as a number between 0 and 1. Defaults to 1. |
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."],[[["A FeatureViewLayer is used to display data from a FeatureView asset on a ui.Map."],["It is created using the `ui.Map.FeatureViewLayer()` constructor, which takes the FeatureView asset ID and optional visualization parameters, name, visibility, and opacity."],["The layer can be customized with visualization parameters and its appearance, such as name and opacity, can be controlled."],["By default, the layer is visible and has an opacity of 1, but these properties can be adjusted as needed."]]],["The `ui.Map.FeatureViewLayer` function creates a layer from a FeatureView asset for display on a `ui.Map`. It requires the `assetId` of the FeatureView and accepts optional parameters: `visParams` for visualization settings, `name` for layer identification, `shown` to control initial visibility, and `opacity` to adjust the layer's transparency from 0 to 1. The function returns a `ui.Map.FeatureViewLayer` object.\n"]]