ui.Map.GeometryLayer.openConfigurationDialog
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Mở hộp thoại cấu hình cho lớp. Sử dụng onLayerConfig để đăng ký một lệnh gọi lại cho trường hợp người dùng thực hiện thay đổi bằng hộp thoại.
Trả về lớp hình học mà hộp thoại sẽ cập nhật.
Cách sử dụng | Giá trị trả về |
---|
GeometryLayer.openConfigurationDialog() | ui.Map.GeometryLayer |
Đối số | Loại | Thông tin chi tiết |
---|
this: ui.map.geometrylayer | ui.Map.GeometryLayer | Đối tượng ui.Map.GeometryLayer. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eopenConfigurationDialog()\u003c/code\u003e function opens a dialog for configuring a geometry layer on a map.\u003c/p\u003e\n"],["\u003cp\u003eUsers can interact with the dialog to make changes to the geometry layer's configuration.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the \u003ccode\u003eonLayerConfig\u003c/code\u003e function to register a callback that will be executed when the user makes changes using the configuration dialog.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eopenConfigurationDialog()\u003c/code\u003e function returns the ui.Map.GeometryLayer object being updated.\u003c/p\u003e\n"]]],[],null,["# ui.Map.GeometryLayer.openConfigurationDialog\n\n\u003cbr /\u003e\n\nOpens a configuration dialog for the layer. Use onLayerConfig to register a callback for when the user makes changes using the dialog.\n\n\u003cbr /\u003e\n\nReturns the geometry layer to be updated by the dialog.\n\n| Usage | Returns |\n|-------------------------------------------|----------------------|\n| GeometryLayer.openConfigurationDialog`()` | ui.Map.GeometryLayer |\n\n| Argument | Type | Details |\n|------------------------------|----------------------|------------------------------------|\n| this: `ui.map.geometrylayer` | ui.Map.GeometryLayer | The ui.Map.GeometryLayer instance. |"]]