[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-25 (世界標準時間)。"],[[["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"]]