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."],[[["\u003cp\u003eDetermines if a given location (\u003ccode\u003epoint\u003c/code\u003e) is on or near a specified path (\u003ccode\u003epath\u003c/code\u003e) within a certain tolerance distance.\u003c/p\u003e\n"],["\u003cp\u003eThe path can be composed of great circle segments (geodesic) or rhumb segments (non-geodesic).\u003c/p\u003e\n"],["\u003cp\u003eTolerance is measured in meters and is relative to the Earth's spherical radius; it can be adjusted for different sphere radii.\u003c/p\u003e\n"],["\u003cp\u003eProvides a Boolean result indicating whether the location is on or near the path.\u003c/p\u003e\n"]]],[],null,["GMSGeometryIsLocationOnPathTolerance \n\n extern BOOL GMSGeometryIsLocationOnPathTolerance(CLLocationCoordinate2D point,\n ../Classes/GMSPath.html *_Nonnull path,\n BOOL geodesic,\n CLLocationDistance tolerance)\n\nReturns whether `point` lies on or near `path`, within the specified `tolerance` in meters.\n`path` is composed of great circle segments if `geodesic` is YES, and of rhumb (loxodromic)\nsegments if `geodesic` is NO.\n\nSee also `GMSGeometryIsLocationOnPath(point, path, geodesic)`.\n\nThe tolerance, in meters, is relative to the spherical radius of the Earth. If you need to work\non a sphere of different radius, you may compute the equivalent tolerance from the desired\ntolerance on the sphere of radius R: tolerance = toleranceR \\* (RadiusEarth / R), with\nRadiusEarth==6371009."]]