Duyuru:
15 Nisan 2025'ten önce Earth Engine'i kullanmak için kaydedilen tüm ticari olmayan projelerin Earth Engine erişimini sürdürmek için
ticari olmayan uygunluğu doğrulaması gerekir.
ui.Map.GeometryLayer.setShown
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Katmandaki şekillerin görünürlüğünü ayarlar.
Bu harita katmanını döndürür.
Kullanım | İadeler |
---|
GeometryLayer.setShown(shown) | ui.Map.GeometryLayer |
Bağımsız Değişken | Tür | Ayrıntılar |
---|
bu: ui.map.geometrylayer | ui.Map.GeometryLayer | ui.Map.GeometryLayer örneği. |
shown | Boole | Katmanın gösterilip gösterilmeyeceği. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[[["\u003cp\u003eThe \u003ccode\u003esetShown()\u003c/code\u003e method controls the visibility of shapes within a GeometryLayer on the map.\u003c/p\u003e\n"],["\u003cp\u003eIt takes a boolean argument, \u003ccode\u003eshown\u003c/code\u003e, to determine if the layer should be visible or hidden.\u003c/p\u003e\n"],["\u003cp\u003eCalling this method returns the \u003ccode\u003eui.Map.GeometryLayer\u003c/code\u003e instance, allowing for method chaining.\u003c/p\u003e\n"]]],["The `GeometryLayer.setShown(shown)` method controls the visibility of shapes within a map layer. It takes a boolean argument, `shown`, which determines if the layer is visible (true) or hidden (false). This method, when called on a `ui.Map.GeometryLayer` instance, returns the same `ui.Map.GeometryLayer` instance, allowing for method chaining.\n"],null,["# ui.Map.GeometryLayer.setShown\n\n\u003cbr /\u003e\n\nSets the visibility of shapes in the layer.\n\n\u003cbr /\u003e\n\nReturns this map layer.\n\n| Usage | Returns |\n|---------------------------------|----------------------|\n| GeometryLayer.setShown`(shown)` | ui.Map.GeometryLayer |\n\n| Argument | Type | Details |\n|------------------------------|----------------------|------------------------------------|\n| this: `ui.map.geometrylayer` | ui.Map.GeometryLayer | The ui.Map.GeometryLayer instance. |\n| `shown` | Boolean | Whether the layer is shown. |"]]