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


INALocator2.MaxSnapTolerance Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INALocator2 Interface > INALocator2.MaxSnapTolerance Property
ArcGIS Developer Help

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(
  System.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 Location-allocation solver ArcGIS Network Analyst extension Engine application