GeoNames Find


PurposeThis sample uses the GeoNames web service to illustrate creating a custom Find capability.

How to use

See Using the samples for help on compiling, setting up the debugger, and running the sample. If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.

  1. Open and build the solution in Visual Studio.
  2. Open ArcGIS Explorer, and open a map in which you want to use the sample task.
  3. Select the Add-Ins tab from the ArcGIS Explorer ribbon.
  4. Click the GeoNames Find add-in button to open the FindDockWindow.
  5. Enter a place name in the text box and press Enter or click the Find button (magnifying glass).
  6. The map automatically zooms to the first location found in the list.
  7. Use the context menu to delete or move items to the map.


Download the files for all languages
FindDockWindow.cs Code to implement a custom find DockWindow.
Download the C# files
FindDockWindow.vb Code to implement a custom find DockWindow.
Download the VB.NET files