This document is archived and information here might be outdated. Recommended version. |
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.
Name | Description | |
---|---|---|
AddLocatorAgent | Add a locator agent. | |
Bind | Re-associate the locators with the given network dataset and its schema. | |
CreateDefault | Make the default locators. | |
FindClosestAmongAllAgents | Indicates if the closest location (only) should be returned. | |
LocatorAgent | The locator agent by index. | |
LocatorAgentCount | The number of locator agents added. | |
NetworkDataset | The associated network dataset. | |
OutputSpatialReference | The spatial reference for points returned by the locator. | |
QueryLocationByPoint | Use the locator agents to find a network location from a point. | |
QueryLocationByRow | Use the locator agents to find a network location from a row. | |
QueryPoint | The point for a network location. | |
RemoveLocatorAgent | Remove a locator agent by index. | |
SnapTolerance | The distance to search. | |
SnapToleranceUnits | The units of the snap tolerance. |
Classes | Description |
---|---|
NALocator | Finds network locations for analysis. |
INALocator has been superseded by INALocator3.
INALocatorPtr ipNALocator(CLSID_NALocator);
ipNALocator->put_FindClosestAmongAllAgents(VARIANT_FALSE);
ipNALocator->put_SnapTolerance(0.0);
ipNALocator->put_SnapToleranceUnits(esriMeters);
hr = ipNALocator->AddLocatorAgent(INALocatorAgentPtr(ipAgent));