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

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

INALocator Interface

Provides access to properties that apply to all network locators. Note: the INALocator interface has been superseded by INALocator2. Please consider using the more recent version.

Product Availability

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


Name Description
Method AddLocatorAgent Add a locator agent.
Method Bind Re-associate the locators with the given network dataset and its schema.
Method CreateDefault Make the default locators.
Read/write property FindClosestAmongAllAgents Indicates if the closest location (only) should be returned.
Read-only property LocatorAgent The locator agent by index.
Read-only property LocatorAgentCount The number of locator agents added.
Read-only property NetworkDataset The associated network dataset.
Read/write property OutputSpatialReference The spatial reference for points returned by the locator.
Method QueryLocationByPoint Use the locator agents to find a network location from a point.
Method QueryLocationByRow Use the locator agents to find a network location from a row.
Method QueryPoint The point for a network location.
Method RemoveLocatorAgent Remove a locator agent by index.
Read/write property SnapTolerance The distance to search.
Read/write property SnapToleranceUnits The units of the snap tolerance.

Classes that implement INALocator

Classes Description
NALocator Finds network locations for analysis.


INALocator has been superseded by INALocator3.


INALocatorPtr ipNALocator(CLSID_NALocator);


hr = ipNALocator->AddLocatorAgent(INALocatorAgentPtr(ipAgent));