ui.Map.DrawingTools.getShape
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Gibt die Form zurück, die im Zeichenmodus gezeichnet wird.
Nutzung | Ausgabe |
---|
DrawingTools.getShape() | String |
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\u003e\u003ccode\u003eDrawingTools.getShape()\u003c/code\u003e returns the type of shape being drawn on the map, like 'circle' or 'polygon'.\u003c/p\u003e\n"],["\u003cp\u003eIt's used with the \u003ccode\u003eui.Map.DrawingTools\u003c/code\u003e instance to access information about the current drawing.\u003c/p\u003e\n"],["\u003cp\u003eThe returned value is a string representing the shape's name.\u003c/p\u003e\n"]]],[],null,["# ui.Map.DrawingTools.getShape\n\n\u003cbr /\u003e\n\nReturns the shape drawn when in drawing mode.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------|---------|\n| DrawingTools.getShape`()` | String |\n\n| Argument | Type | Details |\n|-----------------------------|---------------------|-----------------------------------|\n| this: `ui.map.drawingtools` | ui.Map.DrawingTools | The ui.Map.DrawingTools instance. |"]]