[[["容易理解","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 (世界標準時間)。"],[[["Calculates the minimum distance between two geometries, with one being a polygon."],["Returns the distance as a float value, representing the shortest distance between the geometries."],["Optionally allows specifying the projection and maximum error for reprojection during the calculation."],["If a projection isn't specified, the calculation is performed using spherical coordinates, and distances are in meters on the sphere."]]],["The `distance` method calculates the minimum distance between two geometries (`left` and `right`). It accepts optional arguments: `maxError` (tolerated error during reprojection), `proj` (projection for the operation), and `spherical` (spherical or elliptical calculation when `proj` is unspecified). The method returns a float value. The example shows how to use the function, by creating two geometries, one of type Polygon and the other Point, and obtain the minimum distance between them.\n"]]