[[["容易理解","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-26 (世界標準時間)。"],[[["`buffer` returns a Geometry that is the input geometry expanded or contracted by a given distance."],["A positive distance expands the geometry while a negative distance contracts it."],["The distance is interpreted in meters unless a projection (`proj`) is specified, in which case the distance is in the units of the projection's coordinate system."],["An optional `maxError` parameter controls the accuracy of the buffer operation."]]],["The `buffer` method expands or contracts a geometry by a specified distance. A positive distance expands, while a negative one contracts. The distance unit is meters by default or the projection's units if specified. The method accepts a `distance`, an optional `maxError` (defaulting to 1% of the distance), and an optional `proj` for the projection. It returns a new `Geometry`. The examples provided showcase this operation on a `Rectangle` geometry, increasing it's size.\n"]]