I am maintaining an InMemoryFeatureLayer to render dynamic points. The functionality is working fine except that it takes too long for the Overlay to refresh. It would appear that the entire Overlay, and hence all points, are being refreshed.
The application has a high rate of data to process and it appears that the refresh of the Overlay cannot keep up. Ideally, instead of refreshing the entire Overlay I would like to refresh only those icons on the map that are new or have changed position.
One of the symptoms that I see are semi-transparent red-colored tiles appearing/disappearing, which have a bold red X in the middle.
I trap DrawnExceptions and receive quite a few as shown below.
I currently use EditTools to insert/update/delete the features of the layer. For more efficiency I am going to change from using EditTools to InternalFeatures.
Does MapSuite provide the ability to refresh only those InMemoryFeatureLayer features that have changed?
Regards,
Dennis
DrawnExceptions
Message=Cannot insert items into an STR packed R-tree after it has been built.
Message=Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
Message=Collection was modified; enumeration operation may not execute.
Message=The FeatureSource is not open. Please call the Open method before calling this method.