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.getShown
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Restituisce un valore che indica se il livello viene visualizzato.
Utilizzo | Resi |
---|
Layer.getShown() | Booleano |
Argomento | Tipo | Dettagli |
---|
questo: ui.map.abstractlayer | ui.Map.AbstractLayer | L'istanza ui.Map.AbstractLayer. |
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\u003e\u003ccode\u003eLayer.getShown()\u003c/code\u003e is a method that returns a boolean value indicating whether the specified layer is currently visible on the map.\u003c/p\u003e\n"],["\u003cp\u003eThe method is called on a \u003ccode\u003eui.Map.AbstractLayer\u003c/code\u003e instance and requires no arguments.\u003c/p\u003e\n"]]],["The function `Layer.getShown()` is used to determine the visibility of a layer. It takes a `ui.Map.AbstractLayer` instance as an argument, representing the layer in question. The function then returns a Boolean value, indicating whether the specified layer is currently shown (true) or hidden (false).\n"],null,["# ui.Map.Layer.getShown\n\n\u003cbr /\u003e\n\nReturns whether the layer is shown.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------|---------|\n| Layer.getShown`()` | Boolean |\n\n| Argument | Type | Details |\n|------------------------------|----------------------|------------------------------------|\n| this: `ui.map.abstractlayer` | ui.Map.AbstractLayer | The ui.Map.AbstractLayer instance. |"]]