ui.Map.Layer.setEeObject
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Ustawia ee.Object warstwy.
Zwraca tę warstwę mapy.
Wykorzystanie | Zwroty |
---|
Layer.setEeObject(eeObject) | ui.Map.Layer |
Argument | Typ | Szczegóły |
---|
to: ui.map.layer | ui.Map.Layer | Instancja ui.Map.Layer. |
eeObject | Collection|Feature|Image, opcjonalnie | Obiekt do dodania na mapie. Domyślnie jest to pusty obiekt ee.Image. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]