Am trying to create a LocalLocatorTask using a composite locator. This works when I use it in ArcMap. But when providing the .loc file to Runtime I get the error "One or more of the locator's properties is invalid". Are there Runtime-specific requirements for locators? Code is below. Any insights would be much appreciated.
Ed
private void SetupLocator()
{
try
{
string locatorPath = @"C:\GISData\Data\Snapshot\CompositeStreetLocator.loc";
_locatorTask = new Esri.ArcGISRuntime.Tasks.Geocoding.LocalLocatorTask(locatorPath);
}
catch (Exception ex)
{
this.Log.LogException(ex);
}
}