ui.Map.DrawingTools.setLinked
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
ההגדרה קובעת אם הצורות הגיאומטריות של כלי הציור מקושרות לחלונית הייבוא או מבודדות במפה.
הפונקציה מחזירה את האובייקטים האלה: ui.Map.DrawingTools.
שימוש | החזרות |
---|
DrawingTools.setLinked(linked) | ui.Map.DrawingTools |
ארגומנט | סוג | פרטים |
---|
זה: ui.map.drawingtools | ui.Map.DrawingTools | המופע ui.Map.DrawingTools. |
linked | בוליאני | הארגומנט שקובע אם הצורות הגיאומטריות צריכות להיות מקושרות לחלונית הייבוא. אם הערך הוא false, כל הגיאומטריות הן מקומיות למופע המפה. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eDrawing tools' geometries can be linked to the imports panel or isolated to the map.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDrawingTools.setLinked(linked)\u003c/code\u003e lets you control this linkage, with \u003ccode\u003elinked\u003c/code\u003e set to true for imports panel connection and false for map isolation.\u003c/p\u003e\n"],["\u003cp\u003eWhen geometries are linked to the imports panel, they are accessible and manageable from there, while isolation keeps them local to the map instance.\u003c/p\u003e\n"]]],[],null,["# ui.Map.DrawingTools.setLinked\n\n\u003cbr /\u003e\n\nSets whether the drawing tools' geometries are linked to the imports panel or isolated to the map.\n\n\u003cbr /\u003e\n\nReturns these ui.Map.DrawingTools.\n\n| Usage | Returns |\n|----------------------------------|---------------------|\n| DrawingTools.setLinked`(linked)` | ui.Map.DrawingTools |\n\n| Argument | Type | Details |\n|-----------------------------|---------------------|-------------------------------------------------------------------------------------------------------------------------|\n| this: `ui.map.drawingtools` | ui.Map.DrawingTools | The ui.Map.DrawingTools instance. |\n| `linked` | Boolean | Whether the geometries should be linked to the imports panel. When false, all geometries are local to the map instance. |"]]