ui.Map.DrawingTools.setShown
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הגדרת החשיפה של בורר הצורות ורשימת שכבות הגיאומטריה.
מחזירה את קבוצת כלי הציור הזו.
שימוש | החזרות |
---|
DrawingTools.setShown(shown) | ui.Map.DrawingTools |
ארגומנט | סוג | פרטים |
---|
זה: ui.map.drawingtools | ui.Map.DrawingTools | המופע ui.Map.DrawingTools. |
shown | בוליאני | האם להציג את כלי השרטוט. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eControls the visibility of the shape selector and geometry layer list within the drawing tools.\u003c/p\u003e\n"],["\u003cp\u003eProvides a method (\u003ccode\u003esetShown\u003c/code\u003e) to programmatically show or hide the drawing tools on a map, accepting a boolean value to indicate visibility.\u003c/p\u003e\n"],["\u003cp\u003eReturns the \u003ccode\u003eui.Map.DrawingTools\u003c/code\u003e instance, enabling method chaining for further operations.\u003c/p\u003e\n"]]],[],null,["# ui.Map.DrawingTools.setShown\n\n\u003cbr /\u003e\n\nSets the visibility of the shape selector and geometry layer list.\n\n\u003cbr /\u003e\n\nReturns this set of drawing tools.\n\n| Usage | Returns |\n|--------------------------------|---------------------|\n| DrawingTools.setShown`(shown)` | ui.Map.DrawingTools |\n\n| Argument | Type | Details |\n|-----------------------------|---------------------|------------------------------------|\n| this: `ui.map.drawingtools` | ui.Map.DrawingTools | The ui.Map.DrawingTools instance. |\n| `shown` | Boolean | Whether to show the drawing tools. |"]]