This document is archived and information here might be outdated.  Recommended version.


INALocator2.MaxSnapTolerance Property (ArcObjects .NET 10.5 SDK)
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

Closest facility solver (Code Files: frmClosestFacilitySolver) | ArcGIS Network Analyst extension Engine application (Code Files: frmNALayerProperties) | Location-allocation solver (Code Files: frmLocationAllocationSolver)