How to Set Scale and Disable Pan

Nov 26, 2009 at 6:02 AM

2 things I am trying to do:   1) Disable Pan.   2) Set application to a size smaller than 512x512. When I tried to do this the SetViewCenter doesn't work. Any Ideas?

Nov 27, 2009 at 6:48 AM

I solved problem 1) Diable Pan by adding an Enumerator "None" to DeepEarth.Client.MapControl.Map.DragBehavior, and then set Map.DragMode=DragBehavior.None. Is this a proper solution?