How do I change visibility of World Map (Bing in my case)? I want to have button to hide or show bing map. I try like this:
BingMapsOverlay bingMapsOverlay = new BingMapsOverlay("WorldMapOverlay");
bingMapsOverlay.MapType = BingMapsStyle.Road;
// buttons sets this true/false
bingMapsOverlay.IsVisible = false;
map.CustomOverlays.Add(bingMapsOverlay);
But this doesn't hide map, whats wrong?