Stay organized with collectionsSave and categorize content based on your preferences.
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.
[[["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 2024-02-20 UTC."],[[["\u003cp\u003eObtain a tiles key for a specified map or asset to use with FeatureViewTileSource for rendering on a base map.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eee.data.getFeatureViewTilesKey\u003c/code\u003e function takes visualization parameters and an optional callback, returning a FeatureViewTilesKey.\u003c/p\u003e\n"],["\u003cp\u003eFeatureView assets require specifying the asset ID and visualization parameters within the parameters object.\u003c/p\u003e\n"]]],[],null,["# ee.data.getFeatureViewTilesKey\n\n\u003cbr /\u003e\n\nGet 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.\n\n\u003cbr /\u003e\n\nReturns the call results. Null if a callback is specified.\n\n| Usage | Returns |\n|--------------------------------------------------------|---------------------|\n| `ee.data.getFeatureViewTilesKey(params, `*callback*`)` | FeatureViewTilesKey |\n\n| Argument | Type | Details |\n|------------|------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `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. | |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. |"]]