Anuncio: Todos los proyectos no comerciales registrados para usar Earth Engine antes del
15 de abril de 2025 deben
verificar su elegibilidad no comercial para mantener el acceso a Earth Engine.
ui.Map.Layer.setEeObject
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Establece el objeto ee.Object de la capa.
Devuelve esta capa del mapa.
Uso | Muestra |
---|
Layer.setEeObject(eeObject) | ui.Map.Layer |
Argumento | Tipo | Detalles |
---|
esta: ui.map.layer | ui.Map.Layer | Es la instancia de ui.Map.Layer. |
eeObject | Colección|Función|Imagen, opcional | Es el objeto que se agregará al mapa. El valor predeterminado es un objeto ee.Image vacío. |
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-26 (UTC)
[null,null,["Última actualización: 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. |"]]