ui.Map.DrawingTools.getLinked
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงว่าเรขาคณิตของเครื่องมือวาดลิงก์กับเรขาคณิตในแผงการนำเข้าหรือไม่
การใช้งาน | การคืนสินค้า |
---|
DrawingTools.getLinked() | บูลีน |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ ui.map.drawingtools | ui.Map.DrawingTools | อินสแตนซ์ ui.Map.DrawingTools |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eThis function checks if geometries created using the drawing tools on the map are linked to the geometries in the imports panel.\u003c/p\u003e\n"],["\u003cp\u003eIt returns a boolean value indicating whether the linkage is active or not (\u003ccode\u003etrue\u003c/code\u003e for linked, \u003ccode\u003efalse\u003c/code\u003e for unlinked).\u003c/p\u003e\n"],["\u003cp\u003eThe function is accessed through the \u003ccode\u003eDrawingTools.getLinked()\u003c/code\u003e method on the ui.Map.DrawingTools instance.\u003c/p\u003e\n"]]],["The function `DrawingTools.getLinked()` determines if the geometries of drawing tools are connected to the geometries in the imports panel. It returns a boolean value (true if linked, false otherwise). The function operates on an instance of `ui.Map.DrawingTools`, which is specified as the `this` argument. No other arguments are used by the function.\n"],null,["# ui.Map.DrawingTools.getLinked\n\n\u003cbr /\u003e\n\nReturns whether the drawing tools' geometries are linked to those in the imports panel.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------|---------|\n| DrawingTools.getLinked`()` | Boolean |\n\n| Argument | Type | Details |\n|-----------------------------|---------------------|-----------------------------------|\n| this: `ui.map.drawingtools` | ui.Map.DrawingTools | The ui.Map.DrawingTools instance. |"]]