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
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
ui.Map üzerinde şekil olarak gösterilecek bir ee.Geometries katmanı.
Kullanım | İadeler |
---|
ui.Map.GeometryLayer(geometries, name, color, shown, locked) | ui.Map.GeometryLayer |
Bağımsız Değişken | Tür | Ayrıntılar |
---|
geometries | List<Geometry>, isteğe bağlı | Katmanın başlatılacağı geometriler. |
name | Dize, isteğe bağlı | Katmanın adı. |
color | Dize, isteğe bağlı | Katmandaki şekillerin CSS rengi (ör. "beyaz" veya "#FFFFFF").
Varsayılan olarak "#000000" (siyah) değerine ayarlanır. |
shown | Boole değeri, isteğe bağlı | Katmandaki şekillerin gösterilip gösterilmeyeceği. Varsayılan olarak true değerine ayarlanır. |
locked | Boole değeri, isteğe bağlı | Katmandaki şekil düzenlemenin kilitlenip kilitlenmeyeceği. Varsayılan olarak false değerine ayarlanır. |
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\u003e\u003ccode\u003eui.Map.GeometryLayer\u003c/code\u003e displays a layer of Earth Engine Geometries as shapes on a \u003ccode\u003eui.Map\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe layer can be customized with geometries, name, color, visibility (\u003ccode\u003eshown\u003c/code\u003e), and editability (\u003ccode\u003elocked\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eDefault color for shapes is black ("#000000") and the layer is shown and unlocked by default.\u003c/p\u003e\n"],["\u003cp\u003eUsers can create a GeometryLayer with \u003ccode\u003eui.Map.GeometryLayer(geometries, name, color, shown, locked)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# ui.Map.GeometryLayer\n\n\u003cbr /\u003e\n\nA layer of ee.Geometries for display as shapes on a ui.Map.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------------------------------------------------------|----------------------|\n| `ui.Map.GeometryLayer(`*geometries* `, `*name* `, `*color* `, `*shown* `, `*locked*`)` | ui.Map.GeometryLayer |\n\n| Argument | Type | Details |\n|--------------|----------------------------|---------------------------------------------------------------------------------------------------------|\n| `geometries` | List\\\u003cGeometry\\\u003e, optional | The geometries with which to initialize the layer. |\n| `name` | String, optional | The name of the layer. |\n| `color` | String, optional | The CSS color of shapes in the layer, for instance \"white\" or \"#FFFFFF\". Defaults to \"#000000\" (black). |\n| `shown` | Boolean, optional | Whether to show the shapes in the layer. Defaults to true. |\n| `locked` | Boolean, optional | Whether to lock shape editing in the layer. Defaults to false. |"]]