Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum
15 April 2025 harus
memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
ui.Panel.Layout.absolute
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Menampilkan tata letak yang menempatkan widgetnya secara absolut relatif terhadap panel.
Properti gaya "posisi" widget yang ditambahkan menentukan cara penempatannya. Posisi berikut didukung:
- kiri atas, tengah atas, kanan atas
- kiri-tengah, kanan-tengah
- kiri bawah, tengah bawah, kanan bawah
Jika tidak ada posisi yang ditentukan, widget akan ditempatkan di belakang (yaitu, dengan indeks z yang lebih rendah daripada) widget yang diposisikan.
Penggunaan | Hasil |
---|
ui.Panel.Layout.absolute() | ui.Panel.Layout |
Tidak ada argumen.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-26 UTC."],[[["\u003cp\u003eReturns a layout that positions widgets based on absolute positioning within the panel.\u003c/p\u003e\n"],["\u003cp\u003eWidgets can be placed using predefined positions like "top-left," "bottom-right," etc., through their "position" style property.\u003c/p\u003e\n"],["\u003cp\u003eWidgets without a specified position are placed behind positioned widgets.\u003c/p\u003e\n"],["\u003cp\u003eUsing \u003ccode\u003eui.Panel.Layout.absolute()\u003c/code\u003e requires no arguments and returns a ui.Panel.Layout object.\u003c/p\u003e\n"]]],["This content describes a layout that positions widgets absolutely within a panel using the widget's \"position\" style property. Supported positions include top-left, top-center, top-right, middle-left, middle-right, bottom-left, bottom-center, and bottom-right. Widgets without a specified position are placed behind those that do, indicated by a lower z-index. The `ui.Panel.Layout.absolute()` method creates this layout and returns a `ui.Panel.Layout` object. The method accepts no arguments.\n"],null,["# ui.Panel.Layout.absolute\n\n\u003cbr /\u003e\n\nReturns a layout that places its widgets absolutely relative to the panel.\n\n\u003cbr /\u003e\n\nAn added widget's \"position\" style property determines how it is placed. The following positions are supported:\n\n- top-left, top-center, top-right\n\n- middle-left, middle-right\n\n- bottom-left, bottom-center, bottom-right\n\nIf no position is specified, the widget will be placed behind (that is, with a lower z-index than) the positioned widgets.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------|-----------------|\n| `ui.Panel.Layout.absolute()` | ui.Panel.Layout |\n\n**No arguments.**"]]