ui.Map.DrawingTools.clear
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
ابزارهای طراحی را پاک می کند.
این مجموعه از ابزارهای طراحی را برمی گرداند.
استفاده | برمی گرداند | DrawingTools. clear () | ui.Map.DrawingTools |
استدلال | تایپ کنید | جزئیات | این: ui.map.drawingtools | ui.Map.DrawingTools | نمونه ui.Map.DrawingTools. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eClears any existing drawings or shapes created using the drawing tools.\u003c/p\u003e\n"],["\u003cp\u003eProvides a way to access and interact with the drawing tools on the map.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eclear()\u003c/code\u003e function is called on a \u003ccode\u003eui.Map.DrawingTools\u003c/code\u003e object and returns the same object, allowing for method chaining.\u003c/p\u003e\n"],["\u003cp\u003eThe table outlines the usage of \u003ccode\u003eclear()\u003c/code\u003e and specifies that it returns a \u003ccode\u003eui.Map.DrawingTools\u003c/code\u003e object.\u003c/p\u003e\n"]]],["The `DrawingTools.clear()` method removes all drawing tools from the map. It takes no arguments and operates on the `ui.Map.DrawingTools` instance itself. After execution, it returns the same `ui.Map.DrawingTools` instance. The method's sole function is to reset the drawing tools, removing any currently displayed or active tools on the map.\n"],null,["# ui.Map.DrawingTools.clear\n\n\u003cbr /\u003e\n\nClears the drawing tools.\n\n\u003cbr /\u003e\n\nReturns this set of drawing tools.\n\n| Usage | Returns |\n|------------------------|---------------------|\n| DrawingTools.clear`()` | ui.Map.DrawingTools |\n\n| Argument | Type | Details |\n|-----------------------------|---------------------|-----------------------------------|\n| this: `ui.map.drawingtools` | ui.Map.DrawingTools | The ui.Map.DrawingTools instance. |"]]