[[["容易理解","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 (世界標準時間)。"],[[["`difference()` returns the geometric difference between two geometries, essentially subtracting the 'right' geometry from the 'left'."],["It's applicable to LineString geometries and likely other geometry types."],["Optional parameters allow controlling the projection and error margin for the operation."],["The result is a new geometry representing the portions of the 'left' geometry that do not intersect with the 'right' geometry."]]],["The `difference` method subtracts a 'right' geometry from a 'left' geometry, returning the resulting geometry. It accepts the 'right' geometry, an optional `maxError` for reprojection tolerance, and an optional `proj` for the operation's projection. The provided examples show creating a `LineString` and a bounding box geometry, then computing their difference, displaying them, and showing how to display the difference operation in both JavaScript and Python.\n"]]