ui.Map.FeatureViewLayer.setOpacity
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הגדרת השקיפות של השכבה.
הפונקציה מחזירה את שכבת המפה הזו.
שימוש | החזרות |
---|
FeatureViewLayer.setOpacity(opacity) | ui.Map.AbstractLayer |
ארגומנט | סוג | פרטים |
---|
זה: ui.map.abstractlayer | ui.Map.AbstractLayer | מופע ui.Map.AbstractLayer. |
opacity | מספר, אופציונלי | האטימות של השכבה, שמיוצגת כמספר בין 0 ל-1. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eSets the opacity of the FeatureViewLayer, with a value between 0 and 1 representing transparency.\u003c/p\u003e\n"],["\u003cp\u003eReturns the ui.Map.AbstractLayer instance after setting the opacity.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esetOpacity()\u003c/code\u003e method is accessed through a FeatureViewLayer object.\u003c/p\u003e\n"]]],[],null,["# ui.Map.FeatureViewLayer.setOpacity\n\n\u003cbr /\u003e\n\nSets the opacity of the layer.\n\n\u003cbr /\u003e\n\nReturns this map layer.\n\n| Usage | Returns |\n|--------------------------------------------|----------------------|\n| FeatureViewLayer.setOpacity`(`*opacity*`)` | ui.Map.AbstractLayer |\n\n| Argument | Type | Details |\n|------------------------------|----------------------|--------------------------------------------------------------|\n| this: `ui.map.abstractlayer` | ui.Map.AbstractLayer | The ui.Map.AbstractLayer instance. |\n| `opacity` | Number, optional | The layer's opacity represented as a number between 0 and 1. |"]]