ui.Map.DrawingTools.get
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงผลโคลนของออบเจ็กต์นี้ หรือหากระบุคีย์ไว้ ก็จะแสดงค่าของพร็อพเพอร์ตี้ที่มีคีย์ที่ส่งเข้ามา ดูพารามิเตอร์ของตัวสร้างเพื่อดูว่ามีพร็อพเพอร์ตี้ใดบ้างที่พร้อมใช้งาน
การใช้งาน | การคืนสินค้า |
---|
DrawingTools.get(key) | วัตถุ |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ ui.data.activedictionary | ui.data.ActiveDictionary | อินสแตนซ์ ui.data.ActiveDictionary |
key | สตริง ไม่บังคับ | คีย์ของพร็อพเพอร์ตี้ที่จะดึงข้อมูล |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eThe \u003ccode\u003eDrawingTools.get()\u003c/code\u003e method returns either a copy of the DrawingTools object or the value of a specific property.\u003c/p\u003e\n"],["\u003cp\u003eYou can access individual properties of the DrawingTools object by providing their key as an argument.\u003c/p\u003e\n"],["\u003cp\u003eThe available properties and their types are defined in the DrawingTools constructor.\u003c/p\u003e\n"],["\u003cp\u003eThis method is used within a ui.data.ActiveDictionary instance.\u003c/p\u003e\n"]]],[],null,["# ui.Map.DrawingTools.get\n\n\u003cbr /\u003e\n\nReturns either a clone of this object or, if a key is provided, the value of the property with the passed-in key. Look at the constructor's parameters to see which properties are available.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------|---------|\n| DrawingTools.get`(`*key*`)` | Object |\n\n| Argument | Type | Details |\n|----------------------------------|--------------------------|----------------------------------------|\n| this: `ui.data.activedictionary` | ui.data.ActiveDictionary | The ui.data.ActiveDictionary instance. |\n| `key` | String, optional | The key of the property to retrieve. |"]]