إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
ui.Map.FeatureViewLayer.setShown
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تضبط هذه السمة مستوى ظهور الطبقة.
تعرض هذه الطبقة في الخريطة.
الاستخدام | المرتجعات |
---|
FeatureViewLayer.setShown(shown) | ui.Map.AbstractLayer |
الوسيطة | النوع | التفاصيل |
---|
هذا: ui.map.abstractlayer | ui.Map.AbstractLayer | مثيل ui.Map.AbstractLayer |
shown | قيمة منطقية، اختيارية | تحديد ما إذا كانت الطبقة معروضة |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThe \u003ccode\u003eFeatureViewLayer.setShown()\u003c/code\u003e method controls the visibility of the layer on the map.\u003c/p\u003e\n"],["\u003cp\u003eIt accepts an optional boolean argument, \u003ccode\u003eshown\u003c/code\u003e, which determines whether the layer is visible or hidden.\u003c/p\u003e\n"],["\u003cp\u003eWhen called, it returns the \u003ccode\u003eui.Map.AbstractLayer\u003c/code\u003e instance, allowing for method chaining.\u003c/p\u003e\n"]]],["The `setShown` method controls a map layer's visibility. It accepts a boolean `shown` argument, determining if the layer is displayed (true) or hidden (false). This method is applied to a `ui.Map.AbstractLayer` instance and returns the same `ui.Map.AbstractLayer` object. The `shown` parameter is optional and represents the desired visibility state of the layer.\n"],null,["# ui.Map.FeatureViewLayer.setShown\n\n\u003cbr /\u003e\n\nSets the visibility of the layer.\n\n\u003cbr /\u003e\n\nReturns this map layer.\n\n| Usage | Returns |\n|----------------------------------------|----------------------|\n| FeatureViewLayer.setShown`(`*shown*`)` | ui.Map.AbstractLayer |\n\n| Argument | Type | Details |\n|------------------------------|----------------------|------------------------------------|\n| this: `ui.map.abstractlayer` | ui.Map.AbstractLayer | The ui.Map.AbstractLayer instance. |\n| `shown` | Boolean, optional | Whether the layer is shown. |"]]