DeepEarthMap in TabControl = AnimateBlur Exception ?

Jan 26, 2012 at 1:22 PM
Edited Jan 26, 2012 at 1:23 PM

When I run the map in the  WebBrowser, which is on the TabPage that is not visible I get Exception in AnimateBlur class. The targetBlur == NaN or - Infinity and it is not expected range.

I changed the source code

if (targetBlur == double.NaN || targetBlur == double.NegativeInfinity)
   targetBlur = 1;

Exception is not invoked but the map has wrong initial zoom. I set zoom in PageLoad event

MyMap.SetViewCenter(defaultMapLocation, TMSSettings.Instance.MapStartZoom);

Why it works wrong when the map is not visible during initialization. How can I fix it ??

Apr 5, 2012 at 1:06 PM

Enyone ? Please Help !