ui.Map.DrawingTools.clear
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Löscht die Zeichnungstools.
Gibt diese Gruppe von Zeichenwerkzeugen zurück.
Nutzung | Ausgabe |
---|
DrawingTools.clear() | ui.Map.DrawingTools |
Argument | Typ | Details |
---|
So gehts: ui.map.drawingtools | ui.Map.DrawingTools | Die ui.Map.DrawingTools-Instanz. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\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. |"]]