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.GeometryLayer.fromGeometry
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Reimposta le geometrie del livello analizzando le singole geometrie da un ee.Geometry.
Restituisce questo livello di geometria.
Utilizzo | Resi |
---|
GeometryLayer.fromGeometry(geometry) | ui.Map.GeometryLayer |
Argomento | Tipo | Dettagli |
---|
questo: ui.map.geometrylayer | ui.Map.GeometryLayer | L'istanza ui.Map.GeometryLayer. |
geometry | Geometria | Una geometria con cui reimpostare le geometrie del livello. |
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\u003eResets a GeometryLayer's geometries using an \u003ccode\u003eee.Geometry\u003c/code\u003e input, effectively redrawing the layer based on the provided geometry.\u003c/p\u003e\n"],["\u003cp\u003eReturns the modified \u003ccode\u003eui.Map.GeometryLayer\u003c/code\u003e instance, allowing for method chaining or further layer manipulations.\u003c/p\u003e\n"],["\u003cp\u003eAccepts an \u003ccode\u003eee.Geometry\u003c/code\u003e as an argument, which provides the spatial data for the layer's new geometries.\u003c/p\u003e\n"]]],[],null,["# ui.Map.GeometryLayer.fromGeometry\n\n\u003cbr /\u003e\n\nResets the layer's geometries by parsing individual geometries from an ee.Geometry.\n\n\u003cbr /\u003e\n\nReturns this geometry layer.\n\n| Usage | Returns |\n|----------------------------------------|----------------------|\n| GeometryLayer.fromGeometry`(geometry)` | ui.Map.GeometryLayer |\n\n| Argument | Type | Details |\n|------------------------------|----------------------|--------------------------------------------------------|\n| this: `ui.map.geometrylayer` | ui.Map.GeometryLayer | The ui.Map.GeometryLayer instance. |\n| `geometry` | Geometry | A geometry with which to reset the layer's geometries. |"]]