ui.Map.GeometryLayer.setName
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ตั้งชื่อเลเยอร์
แสดงผลเลเยอร์แผนที่นี้
การใช้งาน | การคืนสินค้า |
---|
GeometryLayer.setName(name) | ui.Map.GeometryLayer |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ ui.map.geometrylayer | ui.Map.GeometryLayer | อินสแตนซ์ ui.Map.GeometryLayer |
name | สตริง | ชื่อเลเยอร์ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003e\u003ccode\u003esetName()\u003c/code\u003e allows you to assign a specific name to a GeometryLayer within the Earth Engine user interface.\u003c/p\u003e\n"],["\u003cp\u003eThis function is associated with \u003ccode\u003eui.Map.GeometryLayer\u003c/code\u003e objects and returns the layer instance for method chaining.\u003c/p\u003e\n"],["\u003cp\u003eThe input argument \u003ccode\u003ename\u003c/code\u003e is a string value representing the desired layer name.\u003c/p\u003e\n"]]],[],null,["# ui.Map.GeometryLayer.setName\n\n\u003cbr /\u003e\n\nSets the name of the layer.\n\n\u003cbr /\u003e\n\nReturns this map layer.\n\n| Usage | Returns |\n|-------------------------------|----------------------|\n| GeometryLayer.setName`(name)` | ui.Map.GeometryLayer |\n\n| Argument | Type | Details |\n|------------------------------|----------------------|------------------------------------|\n| this: `ui.map.geometrylayer` | ui.Map.GeometryLayer | The ui.Map.GeometryLayer instance. |\n| `name` | String | The name of the layer. |"]]