Geocoding task
Description
This sample shows how to look up an address with StreetMap data; the virtual keyboard is connected with the geocoding lookup result. It demonstrates how to draw geometry on a graphic layer as well.
Products: ArcGIS Mobile
Platforms: Windows
Requires: Visual Studio 2008 (SP1), .NET Framework 3.5 (SP1)
How to use
- Open the project within Visual Studio 2008 and load the sample project. Refer to the "Setting up development environment" section for how to set up your development machine.
- Open the GeocodingPage.xaml.cs file and specify a valid StreetMap dataset in the Geocodingpage_load() function.
- Compile the project and deploy the assembly to your mobile device or emulator. Refer to the "Deploying extensions" section for more information.
- Build and deploy the mobile project assembly file (comes with the sample project) to the <ArcGIS Mobile installation path>\bin\Extensions folder on your desktop where you will author your mobile project with the Mobile Project Center application.
- In Mobile Project Center, add Find Address to your project on the Task tab and add ReverseGeocoding Extension to your project on the Capabilities tab.
- Deploy your mobile project.
- Start the ArcGIS Mobile for Windows application.
- Open the mobile project. Notice there is a new task named Find Address and a Reverse Geocoding Extension menu item on the map control menu.
- Launch the Geocoding task, look up an address step by step, then locate it on the map.
Where to get the sample
The sample is available for download from here.
9/20/2011