GoogleMaps Framework Reference

GMSGeometryIsLocationOnPath

extern BOOL GMSGeometryIsLocationOnPath(CLLocationCoordinate2D point,
                                        GMSPath *_Nonnull path, BOOL geodesic)

Same as GMSGeometryIsLocationOnPath(point, path, geodesic, tolerance), with a default tolerance of 0.1 meters.