Geocode addresses to locations and reverse geocode locations to addresses offline.
You can use an address locator file to geocode addresses and locations. For example, you could provide offline geocoding capabilities to field workers repairing critical infrastructure in a disaster when network availability is limited.
Type the address in the Search menu option or select from the list to Geocode
the address and view the result on the map. Tap the location you want to reverse geocode. Tap the pin to see the full address.
- Use the path of a .loc file to create a
LocatorTask
object. - Set up
GeocodeParameters
and callGeocodeAsync
to get geocode results.
- GeocodeParameters
- GeocodeResult
- LocatorTask
- ReverseGeocodeParameters
This sample downloads the following items from ArcGIS Online automatically:
- San Diego Streets Tile Package - Streets Tile Package (tpkx) for the City of San Diego.
- San Diego Offline Locator - Includes San Diego Locator Offline Dataset.
geocode, geocoder, locator, offline, package, query, search