O'Reilly logo

ArcGIS By Example by Hussein Nasser

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Filtering restaurants on the map

This is the last section in this chapter. We learn how to filter the map to display only desired venues. We will apply this filter on the category selection, for instance, when I select Cafe's, only cafes will be displayed on the map, and so on. Follow these steps to do so:

  1. If necessary, open Visual Studio Express in Administrator mode; we need to do this since our project is actually writing to the registry this time, so it needs administrator permissions. To do that, right-click on Visual Studio and click on Run as administrator.
  2. Go to File | Open Project, browse to the Bestaurants project from the C:\ArcGISByExample\bestaurants\Code, and click on Open.
  3. Right-click on frmRestaurantsViewer.vb and select View Code ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required