This question is locked. New answers and comments are not allowed.
Hi, one quick question. I am experimenting with th map and I loaded the world.shp and zooming is horrible, 2-3 fps. The features there aren't that complex and that really boggled me. I enabled gpuacceleration and cachevisualisation and everything is red (so not cached)
Tried to enable cachemode manually on the items.
but no success. Everything is still red.
When I enable CacheMode for the map it becomes normal color, but the map itself doesn't need this cache but the elements within it, and the performance is still horrible.
Anyway. My question is: Am I doing this right? Am I enabling CacheMode on the correct items, because it sure does not feel like it.
Tried to enable cachemode manually on the items.
BitmapCache bmc =
new
BitmapCache();
bmc.RenderAtScale = 4d;
//Map.CacheMode = bmc;
foreach
(ItemsControl itemsControl
in
(Map.Items))
{
itemsControl.CacheMode = bmc;
foreach
(UIElement el
in
itemsControl.Items)
{
el.CacheMode = bmc;
}
}
but no success. Everything is still red.
When I enable CacheMode for the map it becomes normal color, but the map itself doesn't need this cache but the elements within it, and the performance is still horrible.
Anyway. My question is: Am I doing this right? Am I enabling CacheMode on the correct items, because it sure does not feel like it.