This project is read-only.

DeepEarthMap in TabControl = AnimateBlur Exception ?

Jan 26, 2012 at 2:22 PM
Edited Jan 26, 2012 at 2: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 2:06 PM

Enyone ? Please Help !