ArcObjects Library Reference (NetworkAnalyst)  

INALocator2.MaxSnapTolerance Property

The maximum distance that can be searched when expanding the snap tolerance. Has the same units as the snap tolerance.

[Visual Basic .NET]
Public Property MaxSnapTolerance As Double
[C#]
public double MaxSnapTolerance {get; set;}
[C++]
HRESULT get_MaxSnapTolerance(
  double* maxTolerance
);
[C++]
HRESULT put_MaxSnapTolerance(
  double maxTolerance
);
[C++]

Parameters

maxTolerance [out, retval]   maxTolerance is a parameter of type double maxTolerance [in]   maxTolerance is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

The INALocator::SnapTolerance property specifies the minimum search tolerance used when finding network locations.  If nothing is found within this tolerance, the search tolerance is doubled until a network location is found or MaxSnapTolerance is reached.

See Also

INALocator2 Interface

.NET Samples

Network Analyst Engine application (Code Files: frmNALayerProperties) |