Hi,
I created a custom in memory feature source and layer to wrap my own layer objects from a custom spatial storage system. I have no problems displaying the layer in a map control and using styles/labels that access the attributes of the features.
But when I tried to call FeatureSource.GetFeaturesByColumnValue I get a NullReferenceException
System.NullReferenceException occurred
Message="Object reference not set to an instance of an object."
Source="MapSuiteCore"
StackTrace:
at ThinkGeo.MapSuite.Core.FeatureSource.GetFeaturesByColumnValueCore(String columnName, String columnValue)
at ThinkGeo.MapSuite.Core.FeatureSource.GetFeaturesByColumnValue(String columnName, String columnValue)
at Tcc.Expresso.UI.RecEngine.VRAExportControl.listViewPrevew_SelectionChanged(Object sender, SelectionChangedEventArgs e) in C:\TFSSource\Expresso\Tcc.Expresso.UI\RecEngine\VRAExportControl.xaml.cs:line 273
InnerException:
In my custom feature source I did provide it with the List of FeatureSourceColumn and set the attribute dictionary of each feature. I assume that I have not set something I need to, any pointer in the right direction would be great!
Thanks
Brian