Scroll and Pan

Apr 8, 2009 at 11:41 AM
Hi Radioman,
WPF question here:
do you have any pointer on creating scroll and pan functionality. I'd like to be able to scroll/pan the map with a smooth animation rather than a "Jump to".
something like 
MainMap.Pan(Direction.West, 100); // to the left 100px
MainMap.Pan(Direction.South, 320); // down 320px

any ideas?

Apr 8, 2009 at 4:14 PM
scrool by pixels? or scroll by lat/lng ?
Apr 8, 2009 at 8:21 PM
Scroll by pixels I think, although it doesn't really matter as your core translates between the two. If you look at a google map at the "pan" buttons, that's the kind of affect I'm thinking off, where the map moves smoothly to a desired point.
Apr 8, 2009 at 8:42 PM
i see, i'll see what i can do
Jun 29, 2010 at 7:09 AM

use Offset(int x, int y)