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.CloudStorageLayer.setMaxZoom
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Imposta il livello di zoom massimo per i riquadri. Quando l'utente esegue lo zoom oltre questo livello, il riquadro principale a questo livello viene recuperato e ingrandito sul client.
Restituisce questo livello della mappa.
Utilizzo | Resi |
---|
CloudStorageLayer.setMaxZoom(maxZoom) | ui.Map.CloudStorageLayer |
Argomento | Tipo | Dettagli |
---|
questo: ui.map.cloudstoragelayer | ui.Map.CloudStorageLayer | L'istanza ui.Map.CloudStorageLayer. |
maxZoom | Numero | Il livello di zoom massimo con i riquadri. |
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\u003eDefines the highest zoom level where tiles are displayed, beyond which the parent tile is fetched and zoomed on the client-side.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esetMaxZoom\u003c/code\u003e method allows setting this maximum zoom level for a CloudStorageLayer and returns the layer instance for chaining.\u003c/p\u003e\n"]]],["The `setMaxZoom` method configures the maximum zoom level for a `CloudStorageLayer`. When a user zooms beyond this `maxZoom` number, the parent tile at the specified level is fetched and zoomed client-side. This method, applied to a `ui.Map.CloudStorageLayer` instance, accepts a `Number` argument (`maxZoom`) defining the limit and returns the modified `ui.Map.CloudStorageLayer`.\n"],null,["# ui.Map.CloudStorageLayer.setMaxZoom\n\n\u003cbr /\u003e\n\nSets the maximum zoom level for tiles. When the user zooms in beyond this level, the parent tile at this level will be fetched and zoomed on the client.\n\n\u003cbr /\u003e\n\nReturns this map layer.\n\n| Usage | Returns |\n|-----------------------------------------|--------------------------|\n| CloudStorageLayer.setMaxZoom`(maxZoom)` | ui.Map.CloudStorageLayer |\n\n| Argument | Type | Details |\n|----------------------------------|--------------------------|----------------------------------------|\n| this: `ui.map.cloudstoragelayer` | ui.Map.CloudStorageLayer | The ui.Map.CloudStorageLayer instance. |\n| `maxZoom` | Number | The maximum zoom level with tiles. |"]]