ui.Map.DrawingTools.getLinked
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ề giá trị cho biết liệu các hình học của công cụ vẽ có được liên kết với các hình học trong bảng nhập hay không.
Cách sử dụng | Giá trị trả về |
---|
DrawingTools.getLinked() | Boolean |
Đối số | Loại | Thông tin chi tiết |
---|
this: ui.map.drawingtools | ui.Map.DrawingTools | Thực thể ui.Map.DrawingTools. |
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\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. |"]]