[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-08 UTC."],[[["Sets available drawing shapes (point, line, polygon, rectangle) for the drawing tool."],["`DrawingTools.setDrawModes()` method allows customization of available drawing modes on a map."],["By default, all supported drawing shapes are enabled, but this can be modified using the `drawModes` argument."]]],["The `DrawingTools.setDrawModes` function configures the drawing tool's available shapes. It accepts an optional list of `drawModes` to enable, which defaults to all supported shapes (point, line, polygon, and rectangle). This function modifies the `ui.Map.DrawingTools` instance, setting the shapes that can be used. It does not return any value.\n"]]