ee.data.getFeatureViewTilesKey
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
किसी मैप या ऐसेट के लिए टाइल की कुंजी पाएं. टाइलों की कुंजी को FeatureViewTileSource के इंस्टेंस में पास किया जा सकता है. इसे Code Editor के बाहर, बुनियादी मैप पर रेंडर किया जा सकता है.
कॉल के नतीजे दिखाता है. अगर कॉलबैक तय किया गया है, तो इसकी वैल्यू शून्य होती है.
इस्तेमाल | रिटर्न |
---|
ee.data.getFeatureViewTilesKey(params, callback) | FeatureViewTilesKey |
आर्ग्यूमेंट | टाइप | विवरण |
---|
params | FeatureViewVisualizationParameters | विज़ुअलाइज़ेशन पैरामीटर, क्लाइंट-साइड JavaScript ऑब्जेक्ट के तौर पर. FeatureView ऐसेट के लिए:
assetId (string) वह ऐसेट आईडी जिसके लिए टाइल की कुंजी हासिल करनी है. |
visParams (Object) इस लेयर के लिए विज़ुअलाइज़ेशन पैरामीटर. |
|
callback | फ़ंक्शन, ज़रूरी नहीं है | वैकल्पिक कॉलबैक. अगर यह पैरामीटर नहीं दिया जाता है, तो कॉल सिंक्रोनस तरीके से किया जाता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (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. |"]]