ee.data.getFeatureViewTilesKey
Get a tiles key for a given map or asset. The tiles key can be passed to an instance of FeatureViewTileSource which can be rendered on a base map outside of the Code Editor.
Returns the call results. Null if a callback is specified.
Usage | Returns |
---|
ee.data.getFeatureViewTilesKey(params, callback) | FeatureViewTilesKey |
Argument | Type | Details |
---|
params | FeatureViewVisualizationParameters | The visualization parameters as a (client-side) JavaScript object. For FeatureView assets:
assetId (string) The asset ID for which to obtain a tiles key. |
visParams (Object) The visualization parameters for this layer. |
|
callback | Function, optional | An optional callback. If not supplied, the call is made synchronously. |
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 2024-02-20 UTC.
[null,null,["Last updated 2024-02-20 UTC."],[[["Obtain a tiles key for a specified map or asset to use with FeatureViewTileSource for rendering on a base map."],["The `ee.data.getFeatureViewTilesKey` function takes visualization parameters and an optional callback, returning a FeatureViewTilesKey."],["FeatureView assets require specifying the asset ID and visualization parameters within the parameters object."]]],[]]