Hello (Yale),
another OGR-FeatureLayer issue.
If I display MapInfo-File with OGR-FeatureLayer the application throws an error after I performed some map actions (zooming, panning).
I have made a sample application I send you through ThinkGeo-Support.
To create that error please perform some action on map control - e.g. pan, zoom in/out, switch map to full screen.
It seems the error is not thrown if i change the following line in my custom FeatureSource.
oFeatureCollection = m_oOgrFeatureSource.GetFeaturesInsideBoundingBox(boundingBox, ThinkGeo.MapSuite.Core.ReturningColumnsType.AllColumns)
to
oFeatureCollection = m_oOgrFeatureSource.GetFeaturesInsideBoundingBox(boundingBox, ThinkGeo.MapSuite.Core.ReturningColumnsType.NoColumns)
Thanks Thomas