ui.Map.DrawingTools.get
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.
Trả về bản sao của đối tượng này hoặc, nếu bạn cung cấp một khoá, thì trả về giá trị của thuộc tính có khoá được truyền vào. Hãy xem các tham số của hàm khởi tạo để biết những thuộc tính có sẵn.
Cách sử dụng | Giá trị trả về |
---|
DrawingTools.get(key) | Đối tượng |
Đối số | Loại | Thông tin chi tiết |
---|
this: ui.data.activedictionary | ui.data.ActiveDictionary | Đối tượng ui.data.ActiveDictionary. |
key | Chuỗi, không bắt buộc | Khoá của thuộc tính cần truy xuất. |
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\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. |"]]