-
Hi. We have a RasterizingLayer with an underlying layer. When we want to update the Features of the underlying layer we simply do Layer _layer = new();
RasterizingLayer _rasterLayer = new(_layer);
...
_layer.DataSource = new IndexedMemoryProvider(NewFeatures());
_rasterLayer.ClearCache(); This works well but we want to replace the RasterizingLayer with a RasterizingTileLayer. The code above does not update the map when using RasterizingTileLayer instead. Has anybody been able to update the underlying DataSource of a RasterizingTileLayer? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
After some investigation it seems the problem is with Layer. Replacing Layer with some other ILayer type solves the problem. |
Beta Was this translation helpful? Give feedback.
-
@inforithmics do you know if there is a fix for this in Main comapared to develop/4.1? Maybe it is related to the IndexedMemoryProvider. |
Beta Was this translation helpful? Give feedback.
After some investigation it seems the problem is with Layer. Replacing Layer with some other ILayer type solves the problem.