Zoom extension

Description

This sample shows how to add a menu item to the map page for an alternative method of navigation on the map.

Products: ArcGIS Mobile

Platforms: Windows Mobile 5/6

Requires: Visual Studio 2008 with SP1, .NET Compact Framework 2.0 SP2

How to use

  1. Open the project within Visual Studio 2008. Learn how to set up your development machine.
  2. Compile the project and deploy the assembly to your mobile device or emulator. Read more information about deployment.
  3. 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.
  4. In Mobile Project Center, add the extension to your project on the Capabilities tab.
  5. Deploy your mobile project to your Windows Mobile device or emulator. Get more details on deployment.
  6. Start the out-of-the-box mobile application.
  7. Tap to open the mobile project.
  8. On the Select Task page, tap the View Map task.
  9. On the map page, tap the right soft menu and tap Stylus Zoom In/Out.
The map page active map action will be temporarily set to ZoomInOutMapAction, allowing you to zoom in or out using the stylus.

Where to get the sample

The sample is available to download.


9/20/2011