ui.Map.CloudStorageLayer
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह Cloud Storage टाइल से जनरेट की गई लेयर है, जिसे ui.Map पर दिखाया जाता है.
इस्तेमाल | रिटर्न |
---|
ui.Map.CloudStorageLayer(bucket, path, maxZoom, suffix, name, shown, opacity) | ui.Map.CloudStorageLayer |
आर्ग्यूमेंट | टाइप | विवरण |
---|
bucket | स्ट्रिंग | वह बकेट जिसमें टाइलें मौजूद हैं. |
path | स्ट्रिंग | इस लेयर की टाइलों का पाथ, बकेट के हिसाब से. आखिर में "/" लगाना ज़रूरी नहीं है. |
maxZoom | नंबर | ज़ूम का वह ज़्यादा से ज़्यादा लेवल जिसके लिए टाइलें मौजूद हैं. |
suffix | स्ट्रिंग, ज़रूरी नहीं | अगर टाइल की सोर्स फ़ाइल का कोई सफ़िक्स है, तो उसे डालें. |
name | स्ट्रिंग, ज़रूरी नहीं | लेयर का नाम. |
shown | बूलियन, ज़रूरी नहीं | क्या लेयर को शुरू में दिखाया जाता है. डिफ़ॉल्ट रूप से, यह वैल्यू 'सही' पर सेट होती है. |
opacity | नंबर, ज़रूरी नहीं | लेयर की ओपैसिटी को 0 और 1 के बीच की संख्या के तौर पर दिखाया जाता है. डिफ़ॉल्ट वैल्यू 1 होती है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को 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\u003eCreates a map layer from Cloud Storage tiles for display on a ui.Map.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes a bucket and path to locate tiles, specifying maximum zoom level.\u003c/p\u003e\n"],["\u003cp\u003eAllows customization of file suffix, layer name, visibility, and opacity.\u003c/p\u003e\n"]]],[],null,["# ui.Map.CloudStorageLayer\n\n\u003cbr /\u003e\n\nA layer generated from Cloud Storage tiles for display on a ui.Map.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------------------------------------------------------------------|--------------------------|\n| `ui.Map.CloudStorageLayer(bucket, path, maxZoom, `*suffix* `, `*name* `, `*shown* `, `*opacity*`)` | ui.Map.CloudStorageLayer |\n\n| Argument | Type | Details |\n|-----------|-------------------|-------------------------------------------------------------------------------------|\n| `bucket` | String | The bucket that contains the tiles. |\n| `path` | String | The path to this layer's tiles, relative to the bucket. A trailing \"/\" is optional. |\n| `maxZoom` | Number | The maximum zoom level for which there are tiles. |\n| `suffix` | String, optional | The tile source file suffix, if any. |\n| `name` | String, optional | The name of the layer. |\n| `shown` | Boolean, optional | Whether the layer is initially shown. Defaults to true. |\n| `opacity` | Number, optional | The layer's opacity represented as a number between 0 and 1. Defaults to 1. |"]]