ui.Map.GeometryLayer.openConfigurationDialog
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Otwiera okno konfiguracji warstwy. Użyj funkcji onLayerConfig, aby zarejestrować wywołanie zwrotne, które będzie wykonywane, gdy użytkownik wprowadzi zmiany w oknie.
Zwraca warstwę geometrii, która ma zostać zaktualizowana przez okno.
Wykorzystanie | Zwroty |
---|
GeometryLayer.openConfigurationDialog() | ui.Map.GeometryLayer |
Argument | Typ | Szczegóły |
---|
to: ui.map.geometrylayer | ui.Map.GeometryLayer | Instancja ui.Map.GeometryLayer. |
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\u003eThe \u003ccode\u003eopenConfigurationDialog()\u003c/code\u003e function opens a dialog for configuring a geometry layer on a map.\u003c/p\u003e\n"],["\u003cp\u003eUsers can interact with the dialog to make changes to the geometry layer's configuration.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the \u003ccode\u003eonLayerConfig\u003c/code\u003e function to register a callback that will be executed when the user makes changes using the configuration dialog.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eopenConfigurationDialog()\u003c/code\u003e function returns the ui.Map.GeometryLayer object being updated.\u003c/p\u003e\n"]]],[],null,["# ui.Map.GeometryLayer.openConfigurationDialog\n\n\u003cbr /\u003e\n\nOpens a configuration dialog for the layer. Use onLayerConfig to register a callback for when the user makes changes using the dialog.\n\n\u003cbr /\u003e\n\nReturns the geometry layer to be updated by the dialog.\n\n| Usage | Returns |\n|-------------------------------------------|----------------------|\n| GeometryLayer.openConfigurationDialog`()` | ui.Map.GeometryLayer |\n\n| Argument | Type | Details |\n|------------------------------|----------------------|------------------------------------|\n| this: `ui.map.geometrylayer` | ui.Map.GeometryLayer | The ui.Map.GeometryLayer instance. |"]]