Anúncio: todos os projetos não comerciais registrados para usar o Earth Engine antes de
15 de abril de 2025 precisam
verificar a qualificação não comercial para manter o acesso ao Earth Engine.
ui.Map.insert
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Insere um widget no painel no índice especificado.
Retorna este painel.
Uso | Retorna |
---|
Map.insert(index, widget) | ui.Panel |
Argumento | Tipo | Detalhes |
---|
isso: ui.panel | ui.Panel | A instância ui.Panel. |
index | Número | O índice em que o widget será inserido. |
widget | ui.Widget | O widget a ser inserido. |
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-26 UTC.
[null,null,["Última atualização 2025-07-26 UTC."],[[["\u003cp\u003eThe \u003ccode\u003einsert\u003c/code\u003e function adds a ui.Widget to a ui.Panel at a designated index.\u003c/p\u003e\n"],["\u003cp\u003eThis function returns the modified ui.Panel, allowing for method chaining.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003einsert\u003c/code\u003e takes the ui.Panel, the insertion index, and the ui.Widget as arguments.\u003c/p\u003e\n"]]],["The `insert` method of a `ui.Panel` allows adding a `ui.Widget` at a specific index within the panel. It requires the panel instance (`this: ui.panel`), the desired `index` (a number), and the `widget` to be inserted. The method's core action is inserting the provided widget at the designated location. It returns the same `ui.Panel` instance after the insertion.\n"],null,["# ui.Map.insert\n\n\u003cbr /\u003e\n\nInserts a widget into to the panel at the specified index.\n\n\u003cbr /\u003e\n\nReturns this panel.\n\n| Usage | Returns |\n|-----------------------------|----------|\n| Map.insert`(index, widget)` | ui.Panel |\n\n| Argument | Type | Details |\n|------------------|-----------|------------------------------------------|\n| this: `ui.panel` | ui.Panel | The ui.Panel instance. |\n| `index` | Number | The index at which to insert the widget. |\n| `widget` | ui.Widget | The widget to insert. |"]]