ui.Map.DrawingTools.getLinked
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zwraca informację o tym, czy geometrie narzędzi do rysowania są połączone z tymi w panelu importu.
Wykorzystanie | Zwroty |
---|
DrawingTools.getLinked() | Wartość logiczna |
Argument | Typ | Szczegóły |
---|
to: ui.map.drawingtools | ui.Map.DrawingTools | Instancja ui.Map.DrawingTools. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eThis function checks if geometries created using the drawing tools on the map are linked to the geometries in the imports panel.\u003c/p\u003e\n"],["\u003cp\u003eIt returns a boolean value indicating whether the linkage is active or not (\u003ccode\u003etrue\u003c/code\u003e for linked, \u003ccode\u003efalse\u003c/code\u003e for unlinked).\u003c/p\u003e\n"],["\u003cp\u003eThe function is accessed through the \u003ccode\u003eDrawingTools.getLinked()\u003c/code\u003e method on the ui.Map.DrawingTools instance.\u003c/p\u003e\n"]]],["The function `DrawingTools.getLinked()` determines if the geometries of drawing tools are connected to the geometries in the imports panel. It returns a boolean value (true if linked, false otherwise). The function operates on an instance of `ui.Map.DrawingTools`, which is specified as the `this` argument. No other arguments are used by the function.\n"],null,["# ui.Map.DrawingTools.getLinked\n\n\u003cbr /\u003e\n\nReturns whether the drawing tools' geometries are linked to those in the imports panel.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------|---------|\n| DrawingTools.getLinked`()` | Boolean |\n\n| Argument | Type | Details |\n|-----------------------------|---------------------|-----------------------------------|\n| this: `ui.map.drawingtools` | ui.Map.DrawingTools | The ui.Map.DrawingTools instance. |"]]