[[["容易理解","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 (世界標準時間)。"],[[["`area()` calculates and returns the area of a geometry object."],["Points and linestrings have an area of 0, while MultiPolygons sum the area of their parts."],["The area can be returned in square meters or in the units of a specified projection."],["This function can be applied to a MultiPolygon object using `multiPolygon.area({'maxError': 1})` in JavaScript or `multipolygon.area(maxError=1)` in Python."]]],["The `area` method calculates the area of a geometry, returning a float. Points and line strings have an area of 0. Multi-geometry areas are the sum of their components' areas, counting intersections multiple times. Users can specify `maxError` for reprojection tolerance and `proj` for custom units; otherwise, the result defaults to square meters. The method is demonstrated in both Javascript and Python using a `MultiPolygon` example.\n"]]