Hi,
I want to get Addr_type param in geocoding request using LocatorTask class. I'm using Android API
final LocatorTask onlineLocator = new LocatorTask("http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer"); final ListenableFuture<List<GeocodeResult>> geocodeFuture = onlineLocator.geocodeAsync("380 New York Street, Redlands, CA");
Is there any way to get it?
Thank you
Hi Carlos,
You should be able to access Addr_type by using the getAttributes() method on the GeocodeResult.
This will return a collection of all attributes returned for each result based on the locator used. Since the attributes are returned based on the locator being used, we don't have methods to call individual attributes. Please let me know if you have any additional questions.
Thanks,
Christa Hash