One of the feature requirements we have is to display a table with all the DBF rows associated with a displayed shapefile, and then be able to click on a row and have the corresponding shape highlighted on the map. A simple example would be to load your Countries02.shp file and somehow also load and display its associated dbf file. Then you could click on row 7 (Canada) which would cause Canada to be highlighted on the map. So my questions are:
- Would you recommend your GeoDbf class for this? It would be great if it could be databound to a XAML grid view or similar. If not, I could iterate through the rows and create my own WPF ObservableCollection from the data.
- How do I tell an already loaded and rendered map with a ShapeFileFeatureLayer to highlight one of its polygons? I can see in your various examples how to do this at load time (via ValueStyle for example), but how can it be done at runtime? Or can a ValueStyle object be applied to an already loaded map?
Thank you for your help!