[[["易于理解","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"]],["最后更新时间 (UTC):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"]]