Coding a Find Address tool for a mobile application. The Address locator is local for the application. An address Geocoding tool from a form input of an address : Eg: 5125 Elmore RoadAble to get the locator file, but when type casted to addressgeocoding (IAddressGeoGoding), I get this exception **private void GetLocator() { locatorManager = new LocatorManagerClass(); locatorWorkspace = locatorManager.GetLocatorWorkspaceFromPath(@C:\Temp\Locator); //localLocatorWorkSpace = (ILocalLocatorWorkspace)locatorWorkspace; //get the address locator locator = locatorWorkspace.GetLocator("Jeetu"); addressGeoCoding** = (IAddressGeocoding)locator; ERROR: ** MatchFields = 'addressGeoCoding.MatchFields' threw an exception of type 'System.Runtime.InteropServices.COMException'}Need help on this error.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.