ui.Map.Layer.setEeObject
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ตั้งค่า ee.Object ของเลเยอร์
แสดงผลเลเยอร์แผนที่นี้
การใช้งาน | การคืนสินค้า |
---|
Layer.setEeObject(eeObject) | ui.Map.Layer |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ ui.map.layer | ui.Map.Layer | อินสแตนซ์ ui.Map.Layer |
eeObject | คอลเล็กชัน|ฟีเจอร์|รูปภาพ ไม่บังคับ | ออบเจ็กต์ที่จะเพิ่มลงในแผนที่ ค่าเริ่มต้นจะเป็น ee.Image ที่ว่างเปล่า |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eAllows you to specify the Earth Engine object (like an Image, Feature, or Collection) that the layer will display.\u003c/p\u003e\n"],["\u003cp\u003eReturns the updated map layer object itself, enabling method chaining for further customization.\u003c/p\u003e\n"],["\u003cp\u003eIf you don't provide an Earth Engine object, it defaults to displaying an empty ee.Image.\u003c/p\u003e\n"]]],[],null,["# ui.Map.Layer.setEeObject\n\n\u003cbr /\u003e\n\nSets the layer's ee.Object.\n\n\u003cbr /\u003e\n\nReturns this map layer.\n\n| Usage | Returns |\n|-----------------------------------|--------------|\n| Layer.setEeObject`(`*eeObject*`)` | ui.Map.Layer |\n\n| Argument | Type | Details |\n|----------------------|--------------------------------------|--------------------------------------------------------------|\n| this: `ui.map.layer` | ui.Map.Layer | The ui.Map.Layer instance. |\n| `eeObject` | Collection\\|Feature\\|Image, optional | The object to add to the map. Defaults to an empty ee.Image. |"]]