ui.Map.FeatureViewLayer.getOpacity
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह फ़ंक्शन, लेयर की ओपैसिटी दिखाता है. ओपैसिटी को 0 से 1 के बीच की संख्या के तौर पर दिखाया जाता है.
इस्तेमाल | रिटर्न |
---|
FeatureViewLayer.getOpacity() | नंबर |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: ui.map.abstractlayer | ui.Map.AbstractLayer | ui.Map.AbstractLayer इंस्टेंस. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को 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\u003eThis function retrieves the opacity of a layer and returns it as a numerical value ranging from 0 to 1.\u003c/p\u003e\n"],["\u003cp\u003eIt is specifically designed for use with \u003ccode\u003eFeatureViewLayer\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eThe method, named \u003ccode\u003egetOpacity()\u003c/code\u003e, takes one argument: the \u003ccode\u003eui.Map.AbstractLayer\u003c/code\u003e instance, denoted by 'this', representing the target layer.\u003c/p\u003e\n"]]],["The `getOpacity()` method of a `FeatureViewLayer` returns a numerical value representing the layer's opacity, ranging from 0 to 1. This method is called on an instance of `ui.Map.AbstractLayer` and does not take any arguments. The returned value is of type Number.\n"],null,["# ui.Map.FeatureViewLayer.getOpacity\n\n\u003cbr /\u003e\n\nReturns the layer's opacity represented as a number between 0 and 1.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------|---------|\n| FeatureViewLayer.getOpacity`()` | Number |\n\n| Argument | Type | Details |\n|------------------------------|----------------------|------------------------------------|\n| this: `ui.map.abstractlayer` | ui.Map.AbstractLayer | The ui.Map.AbstractLayer instance. |"]]