ui.Map.Layer.setEeObject
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הגדרת ee.Object של השכבה.
הפונקציה מחזירה את שכבת המפה הזו.
שימוש | החזרות |
---|
Layer.setEeObject(eeObject) | ui.Map.Layer |
ארגומנט | סוג | פרטים |
---|
זה: ui.map.layer | ui.Map.Layer | מופע ui.Map.Layer. |
eeObject | Collection|Feature|Image, אופציונלי | האובייקט שרוצים להוסיף למפה. ברירת המחדל היא ee.Image ריק. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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. |"]]