ui.Map.Layer.getShown
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
نشان می دهد که آیا لایه نشان داده شده است.
استفاده | برمی گرداند | Layer. getShown () | بولی |
استدلال | تایپ کنید | جزئیات | این: 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\u003e\u003ccode\u003eLayer.getShown()\u003c/code\u003e is a method that returns a boolean value indicating whether the specified layer is currently visible on the map.\u003c/p\u003e\n"],["\u003cp\u003eThe method is called on a \u003ccode\u003eui.Map.AbstractLayer\u003c/code\u003e instance and requires no arguments.\u003c/p\u003e\n"]]],["The function `Layer.getShown()` is used to determine the visibility of a layer. It takes a `ui.Map.AbstractLayer` instance as an argument, representing the layer in question. The function then returns a Boolean value, indicating whether the specified layer is currently shown (true) or hidden (false).\n"],null,["# ui.Map.Layer.getShown\n\n\u003cbr /\u003e\n\nReturns whether the layer is shown.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------|---------|\n| Layer.getShown`()` | Boolean |\n\n| Argument | Type | Details |\n|------------------------------|----------------------|------------------------------------|\n| this: `ui.map.abstractlayer` | ui.Map.AbstractLayer | The ui.Map.AbstractLayer instance. |"]]