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 و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]