ui.Map.GeometryLayer.openConfigurationDialog
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เปิดกล่องโต้ตอบการกำหนดค่าสำหรับเลเยอร์ ใช้ onLayerConfig เพื่อลงทะเบียนการเรียกกลับเมื่อผู้ใช้ทำการเปลี่ยนแปลงโดยใช้กล่องโต้ตอบ
แสดงผลเลเยอร์เรขาคณิตที่จะอัปเดตโดยกล่องโต้ตอบ
การใช้งาน | การคืนสินค้า |
---|
GeometryLayer.openConfigurationDialog() | ui.Map.GeometryLayer |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ ui.map.geometrylayer | ui.Map.GeometryLayer | อินสแตนซ์ ui.Map.GeometryLayer |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]