Last Updated: 27 Dec 2016 13:24 by ADMIN
Created on: 19 Jun 2012 09:22
Category: Map
Type: Bug Report
Map: Shapes disappear after map size is changed using the VisualStateManager.
We have created an application where a map fills most of the page, but we also have menus on the left and right side that will open and close depending on what the user is doing. In some cases the user will want to keep one or both the menus open all the time, so we have also provided the possibility to pin the menus.

The problem is that when the menus are pinned, we also change the size of the map, and when we do this any shapes that are drawn on the map disappear. We can make them reappear by zooming in or out, and this is only a problem when UseSpringAnimations is set to false, as setting this to true makes the map force some zoom action.