Nevron Forum

Animated "Tween" Panning?

https://www.nevron.com/Forum/Topic12137.aspx

By Jason Irby - Wednesday, May 24, 2017


If I am zoomed in on a large map and I needed to programatically pan to a location across the map, is there a built in functionality to animate that panning smoothly?  Like  a "Tween" method where you give it a destination point and a time value for the transition speed?

I just wanted to check before trying to write my own.

Thanks in advance,
Jason
By Nevron Support - Thursday, May 25, 2017

Hi,

Animated zooming and panning is not currently available in Nevron Diagram for .NET. You will have to implement it yourself, for example by using a timer and modifying the desired properties of the drawing view in the Tick event of the timer.