Returns whether point lies on or near path, within the specified tolerance in meters.
path is composed of great circle segments if geodesic is YES, and of rhumb (loxodromic)
segments if geodesic is NO.
See also GMSGeometryIsLocationOnPath(point, path, geodesic).
The tolerance, in meters, is relative to the spherical radius of the Earth. If you need to work
on a sphere of different radius, you may compute the equivalent tolerance from the desired
tolerance on the sphere of radius R: tolerance = toleranceR * (RadiusEarth / R), with
RadiusEarth==6371009.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-15 UTC."],[[["Determines if a given location (`point`) is on or near a specified path (`path`) within a certain distance tolerance."],["The path can be composed of great circle segments (for geodesic calculations) or rhumb segments (for non-geodesic calculations)."],["The tolerance value, representing the acceptable distance from the path, is in meters and relative to the Earth's radius."],["Offers flexibility for calculations on spheres with different radii by adjusting the tolerance accordingly."]]],[]]