ui.Map.DrawingTools.setLinked
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Legt fest, ob die Geometrien der Zeichentools mit dem Importbereich verknüpft oder auf die Karte beschränkt sind.
Gibt diese ui.Map.DrawingTools zurück.
Nutzung | Ausgabe |
---|
DrawingTools.setLinked(linked) | ui.Map.DrawingTools |
Argument | Typ | Details |
---|
So gehts: ui.map.drawingtools | ui.Map.DrawingTools | Die ui.Map.DrawingTools-Instanz. |
linked | Boolesch | Gibt an, ob die Geometrien mit dem Bereich „Importe“ verknüpft werden sollen. Bei „false“ sind alle Geometrien lokal für die Karteninstanz. |
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\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. |"]]