Annuncio: tutti i progetti non commerciali registrati per l'utilizzo di Earth Engine prima del
15 aprile 2025 devono
verificare l'idoneità non commerciale per mantenere l'accesso a Earth Engine.
ui.Map.Layer.setEeObject
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Imposta ee.Object del livello.
Restituisce questo livello della mappa.
Utilizzo | Resi |
---|
Layer.setEeObject(eeObject) | ui.Map.Layer |
Argomento | Tipo | Dettagli |
---|
questo: ui.map.layer | ui.Map.Layer | L'istanza ui.Map.Layer. |
eeObject | Raccolta|Funzionalità|Immagine, facoltativa | L'oggetto da aggiungere alla mappa. Il valore predefinito è un ee.Image vuoto. |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 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. |"]]